Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

e_bay_buy_api

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

e_bay_buy_api

API_to_search_and_browse_items_listed_in_eBay

  • 0.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

e_bay_buy_api

EBayBuyApi - JavaScript client for e_bay_buy_api API to search and browse items listed in eBay This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: class io.swagger.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install e_bay_buy_api --save
git

If the library is hosted at a git repository, e.g. https://github.com/YOUR_USERNAME/e_bay_buy_api then install it via:

    npm install YOUR_USERNAME/e_bay_buy_api --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Getting Started

Please follow the installation instruction and execute the following JS code:

var EBayBuyApi = require('e_bay_buy_api');

var defaultClient = EBayBuyApi.ApiClient.instance;

// Configure API key authorization: OauthSecurity
var OauthSecurity = defaultClient.authentications['OauthSecurity'];
OauthSecurity.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//OauthSecurity.apiKeyPrefix['Authorization'] = "Token"

var api = new EBayBuyApi.BrowseApi()

var itemId = "itemId_example"; // {String} Item Id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getItem(itemId, callback);

Documentation for API Endpoints

All URIs are relative to https://api.ebay.com/buy

ClassMethodHTTP requestDescription
EBayBuyApi.BrowseApigetItemGET /browse/v1/item/{item_id}get details of an item
EBayBuyApi.BrowseApigetItemFeedGET /browse/v1/item_feedget Item Feed
EBayBuyApi.BrowseApigetItemGroupGET /browse/v1/item_group/{item_group_id}get Item Group
EBayBuyApi.BrowseApisearchForItemsGET /browse/v1/item_summary/searchSearch
EBayBuyApi.OrderApigetGuestCheckoutSessionGET /order/v1/guest_checkout_session/{guest_checkoutsession_id}get details of Guest Checkout Session
EBayBuyApi.OrderApigetGuestPurchaseOrderGET /order/v1/guest_purchase_order/{purchase_order_id}get details of a purchase order
EBayBuyApi.OrderApiinitiateGuestCheckoutSessionPOST /order/v1/guest_checkout_session/initiateInitiate Guest Checkout Session
EBayBuyApi.OrderApiplaceGuestOrderPOST /order/v1/guest_checkout_session/{guest_checkoutsession_id}/place_orderPlace Guest Order
EBayBuyApi.OrderApiupdateGuestLineItemQuantityPOST /order/v1/guest_checkout_session/{guest_checkoutsession_id}/update_quantityUpdate Guest Line Item Quantity
EBayBuyApi.OrderApiupdateGuestPaymentInfoPOST /order/v1/guest_checkout_session/{guest_checkoutsession_id}/update_payment_infoUpdate Guest Payment Info
EBayBuyApi.OrderApiupdateGuestShippingAddressPOST /order/v1/guest_checkout_session/{guest_checkoutsession_id}/update_shipping_addressUpdate Guest Shipping Address
EBayBuyApi.OrderApiupdateGuestShippingOptionPOST /order/v1/guest_checkout_session/{guest_checkoutsession_id}/update_shipping_optionUpdate Guest Shipping Option

Documentation for Models

Documentation for Authorization

OauthSecurity

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

FAQs

Package last updated on 14 Feb 2017

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc