https://github.com/matthewdargan/ebay
eBay Go API Client
https://github.com/matthewdargan/ebay
ebay ebay-api ebay-sdk go golang
Last synced: 9 months ago
JSON representation
eBay Go API Client
- Host: GitHub
- URL: https://github.com/matthewdargan/ebay
- Owner: matthewdargan
- License: apache-2.0
- Created: 2023-08-22T04:07:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-06T02:01:21.000Z (over 1 year ago)
- Last Synced: 2025-03-26T20:21:29.438Z (10 months ago)
- Topics: ebay, ebay-api, ebay-sdk, go, golang
- Language: Go
- Homepage:
- Size: 66.4 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eBay Go API Client
[](https://godoc.org/github.com/matthewdargan/ebay)
[](https://goreportcard.com/report/github.com/matthewdargan/ebay)
[](LICENSE)
Package ebay provides an eBay API client and endpoint wrappers
that streamline the process of performing parameter validation,
making API requests, and handling responses.
To interact with the eBay Finding API, create a `FindingClient`:
```go
params := map[string]string{
"categoryId": "9355",
"itemFilter.name": "MaxPrice",
"itemFilter.value": "500.0",
"itemFilter.paramName": "Currency",
"itemFilter.paramValue": "EUR",
}
c := &http.Client{Timeout: time.Second * 5}
appID := "your_app_id"
client := ebay.NewFindingClient(c, appID)
resp, err := client.FindItemsByCategory(context.Background(), params)
if err != nil {
// handle error
}
```
For more details on the available methods and their usage,
see the examples in the Go documentation.
## Installation
Run the following to import the `ebay` package:
```sh
go get -u github.com/matthewdargan/ebay
```