Socket
Socket
Sign inDemoInstall

github.com/matthewdargan/ebay

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/matthewdargan/ebay

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: For more details on the available methods and their usage, see the examples under FindingClient.


Version published

Readme

Source

eBay Go API Client

GoDoc Build Status Go Report Card 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:

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:

go get -u github.com/matthewdargan/ebay

FAQs

Last updated on 06 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc