sp_api

package module
v0.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

README

Amazon Selling Partner API

Golang client implementation to the Amazon SP-API.

Installation

go get -u github.com/fond-of-vertigo/amazon-sp-api

API-Endpoints coverage

  • Authorization
  • Catalog
  • Easy Ship
  • Fulfillment by Amazon (FBA)
  • Feeds
  • Finances
  • Fulfillment Inbound
  • Fulfillment Outbound
  • Listings
  • Merchant Fulfillment
  • Messaging
  • Notifications
  • Orders
  • Product Fees
  • Product Pricing
  • Reports
  • Sales
  • Sellers
  • Service
  • Shipment
  • Solicitations
  • Tokens
  • Uploads

Examples

Examples can be found in the examples directory.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	FinancesAPI *finances.API
	FeedsAPI    *feeds.API
	OrdersAPI   *orders.API
	ReportsAPI  *reports.API
	TokenAPI    *tokens.API
	// contains filtered or unexported fields
}

func NewClient

func NewClient(config Config) (*Client, error)

func (*Client) Close

func (s *Client) Close()

Close stops the TokenUpdater thread

type Config

type Config struct {
	ClientID     string
	ClientSecret string
	RefreshToken string
	Endpoint     constants.Endpoint
	Log          logger.Logger
	HTTPClient   *http.Client
}

Directories

Path Synopsis
examples
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL