{"id":36463835,"url":"https://github.com/766b/xsdbay","last_synced_at":"2026-01-12T00:00:05.768Z","repository":{"id":57599205,"uuid":"112248823","full_name":"766b/xsdbay","owner":"766b","description":"xsdbay generates Go structs and helper methods based on eBay's ebaysvc.xsd file.","archived":false,"fork":false,"pushed_at":"2018-02-24T20:33:32.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T03:40:43.104Z","etag":null,"topics":["ebay","ebay-api","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/766b.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-27T21:08:16.000Z","updated_at":"2019-09-03T18:59:45.000Z","dependencies_parsed_at":"2022-09-26T19:53:08.734Z","dependency_job_id":null,"html_url":"https://github.com/766b/xsdbay","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/766b/xsdbay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/766b%2Fxsdbay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/766b%2Fxsdbay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/766b%2Fxsdbay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/766b%2Fxsdbay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/766b","download_url":"https://codeload.github.com/766b/xsdbay/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/766b%2Fxsdbay/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28328621,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T22:11:01.104Z","status":"ssl_error","status_checked_at":"2026-01-11T22:10:58.990Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ebay","ebay-api","go","golang"],"created_at":"2026-01-12T00:00:05.154Z","updated_at":"2026-01-12T00:00:05.763Z","avatar_url":"https://github.com/766b.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"xsdbay\n===\n`xsdbay` generates Go structs and helper methods based on eBay's `ebaysvc.xsd` file.\n\nInstallation\n---\n\n    go get github.com/766b/xsdbay\n\nUsage\n---\n\n    -i (string, optional)\n        Input file\n    -o (string, optional)\n        Output Go file (Default: ebaysvc_####.go)\n    -e (string, optional)\n        Elements to be exported (comma separated)    \n    -latest\n        Download latest XSD version\n    -cache-xsd\n        Cache downloaded XSD file\n    -apiver (string, optional)\n        API Version\n    -download (string, optional)\n        XSD link (default \"http://developer.ebay.com/webservices/latest/ebaysvc.xsd\")    \n\nExamples\n---\n\n    xsdbay -latest\n\nDownload latest version and generate output for all API calls.\n\n    xsdbay -latest -e \"AddItem\"\n\nDownload latest version and generate output for AddItem call, related elements and code types.\n\nRequest Helper Methods\n---\n    func (*RequestType) Request(eBayAuthToken, siteID string) (response *ResponseType, err error)\n    func (*RequestType) MarshalXMLEncode(w io.Writer) error\n    func (*RequestType) MarshalXML() ([]byte, error)\n    func (*RequestType) Validate() error\n\nResponse Helper Methods\n---\n    func (x *ResponseType) Success() bool\n    func (x *ResponseType) Failure() bool\n    func (x *ResponseType) Warning() bool\n    func (x *ResponseType) PartialFailure() bool\n\nCodeType Helper Methods\n---\n    var *CodeTypeList = [...]string{...}\n    func (*CodeType) Set(value string) error\n    func (*CodeType) String() string\n\nPackage Settings\n---\n    var (\n        // API gateway address. Sandbox or production.\n        // Default: not set\n\t    APIGateway string\n\n        // API compatibility.\n        // If in sandbox mode, use lowest version possible.\n        // Default: Variable is autofilled based on XSD file version.\n        APICompatibilityLevel string = \"1033\"\n\n        // eBay Crededentials needed for authentication calls. Refer to API docs.\n        APIDevName string\n        APIAppName string\n        APICertName string\n\n        // Validate input based on defined rules in XSD file.\n        // Validation is not guaranteed to be error free and/or catch incorrectly \n        // enetered data that might cause request to fail.\n        // Default: false\n        RequestValidation bool\n    )","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F766b%2Fxsdbay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F766b%2Fxsdbay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F766b%2Fxsdbay/lists"}