All Projects → pajaydev → Ebay Node Api

pajaydev / Ebay Node Api

Licence: mit
eBay API Client for node

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Ebay Node Api

Flutter Shopping Ui Kit
I developed this application just for learning purpose. There are over 20 screen variations.
Stars: ✭ 480 (+394.85%)
Mutual labels:  shopping
Newbee Mall
🔥 🎉newbee-mall 项目(新蜂商城)是一套电商系统,包括 newbee-mall 商城系统及 newbee-mall-admin 商城后台管理系统,基于 Spring Boot 2.X 及相关技术栈开发。 前台商城系统包含首页门户、商品分类、新品上线、首页轮播、商品推荐、商品搜索、商品展示、购物车、订单结算、订单流程、个人订单管理、会员中心、帮助中心等模块。 后台管理系统包含数据面板、轮播图管理、商品管理、订单管理、会员管理、分类管理、设置等模块。
Stars: ✭ 8,319 (+8476.29%)
Mutual labels:  shopping
Laravel Ecommerce
AvoRed an Open Source Laravel Shopping Cart
Stars: ✭ 1,151 (+1086.6%)
Mutual labels:  shopping
Shop
基于Spring-boot和bootstrap搭建的商城系统
Stars: ✭ 506 (+421.65%)
Mutual labels:  shopping
Nideshop
NideShop 开源微信小程序商城服务端 API(Node.js + ThinkJS)
Stars: ✭ 5,154 (+5213.4%)
Mutual labels:  shopping
Shoppingcart
REDAXO Warenkorb AddOn - Super flexibel, ohne Checkout
Stars: ✭ 28 (-71.13%)
Mutual labels:  shopping
Streetmerchant
🤖 The world's easiest, most powerful stock checker
Stars: ✭ 4,644 (+4687.63%)
Mutual labels:  shopping
Advance Ecommerce In Laravel 7
Advance e-commerce website in laravel 7.
Stars: ✭ 91 (-6.19%)
Mutual labels:  shopping
Recipes
Django application for managing recipes
Stars: ✭ 695 (+616.49%)
Mutual labels:  shopping
Gogrocery
Its an eCommerce app inspired from Amazon , big Basket , grofers ,grocery app , Etc
Stars: ✭ 62 (-36.08%)
Mutual labels:  shopping
Seckill
一个整合SSM框架的高并发和商品秒杀项目,学习目前较流行的Java框架组合实现高并发秒杀API
Stars: ✭ 513 (+428.87%)
Mutual labels:  shopping
Ecommerce Open Api
果酱小店:基于 Laravel + swoole + 小程序的开源电商系统,优雅与性能兼顾 : )
Stars: ✭ 546 (+462.89%)
Mutual labels:  shopping
Collectionviewpaginglayout
a simple but highly customizable paging layout for UICollectionView.
Stars: ✭ 947 (+876.29%)
Mutual labels:  shopping
Monday Shop
网上在线商城、综合网上购物平台
Stars: ✭ 485 (+400%)
Mutual labels:  shopping
Inventory Application
Shopping app using MERN stack
Stars: ✭ 74 (-23.71%)
Mutual labels:  shopping
React Image Magnify
A responsive image zoom component designed for shopping sites.
Stars: ✭ 391 (+303.09%)
Mutual labels:  shopping
Nideshop Mini Program
NideShop:基于Node.js+MySQL开发的开源微信小程序商城(微信小程序)
Stars: ✭ 7,115 (+7235.05%)
Mutual labels:  shopping
Cook It Android Xml Template
Android xml layout for Cooking/Recipe App.
Stars: ✭ 94 (-3.09%)
Mutual labels:  shopping
Shopping App With Cart Flutter Demo
Shopping cart : uses sqlite for storage
Stars: ✭ 93 (-4.12%)
Mutual labels:  shopping
Framework
An eCommerce administration built with Laravel 7 for create and manage online shop with multi-vendor.
Stars: ✭ 56 (-42.27%)
Mutual labels:  shopping

Ebay API Node.js

Ebay API Client for node js.

The intent is to simplify the request process by handling the tedious logic. It's a thin wrapper around eBay Api.

npm version Downloads Build Status

Documentation: https://pajaydev.github.io/ebay-node-api

📒 Table of Contents

Installation

npm install ebay-node-api

Usage

let eBay = require("ebay-node-api");

let ebay = new eBay({
  clientID: "-- Client APP ID ----",
  env: "SANDBOX", // optional default = 'PRODUCTION'
  headers: {
    // optional
    "X-EBAY-C-MARKETPLACE-ID": "EBAY_GB" // For Great Britain https://www.ebay.co.uk
  }
});

For Country Code and Marketplace id check here

Documentation

Check out the Starter Guide documentation with examples to get started.

Using Express js

You can consume these ebay node api's using Express. You can checkout the sample app in Codesandbox playground.

API details

Without Auth flow

HTTP Method Methods Description Usage Offical doc
GET findItemsByKeywords Searches for items on eBay by a keyword query. Example doc
GET findCompletedItems Searches for items whose listings are completed and are no longer available for sale by category (using categoryId), by keywords (using keywords), or a combination of the two. Example doc
GET findItemsByProduct Searches for items on eBay using specific eBay product values. Example doc
GET findItemsAdvanced Searches items on eBay by category or keyword or both. Example doc
GET getSingleItem Retrieves publicly visible details about one listing on eBay. Example doc
GET getMultipleItems Retrieves publicly available data for one or more listings. Example doc
GET getShippingCosts Retrieve estimated shipping cost to ship an active item to a specified destination country and postal code. Example doc
GET getItemStatus Get item status for given item ids. Example doc
GET getUserDetails Get User Profile. Example doc
GET getDeals(Deprecated) Get details about the deals across eBay. Example doc

With Auth flow

HTTP Method Methods Description Usage Offical doc
GET searchItems Searches for eBay items by various query parameters and retrieves summaries of the items. You can search by keyword, category, eBay product ID (ePID), or GTIN, charity ID, or a combination of these. Example doc
GET getItem Retrieve the complete details of a specific item. Example doc
GET getItemsByItemGroup Retrieve all the individual items in a group. Example doc
GET getItemByLegacyId Returns the RESTful item ID, which can then be used in any of other Buy API methods. Example doc
GET searchByImage Returns the RESTful item ID, which can then be used in any of other Buy API methods. Example doc
GET getMostWatchedItems Retrieves data for items with the highest watch counts for the entire site or for a specific category. Example doc
GET getSimilarItems Retrieves recommended similar items for a specified item. Example doc
GET getItemAspectsForCategory Retrieve an array of aspects that are appropriate for describing items in a specified category. Example doc
GET getDefaultCategoryTreeId Retrieve the default category tree reference for a specific eBay marketplace. Example doc
GET getCategoryTree Retrieve the complete category tree for category id. Example doc

Examples

// findItemsBykeyword
ebay
  .findItemsByKeywords({
    keywords: "Garmin nuvi 1300 Automotive GPS Receiver",
    sortOrder: "PricePlusShippingLowest", //https://developer.ebay.com/devzone/finding/callref/extra/fndcmpltditms.rqst.srtordr.html
    pageNumber: 2,
    limit: 10
  })
  .then(
    data => {
      console.log(data);
    },
    error => {
      console.log(error);
    }
  );

// Get Single item listing on eBay
ebay.getSingleItem("153265274986").then(data => {
  console.log(data);
});

// Search Items by Keyword
ebay.getAccessToken().then(data => {
  ebay
    .searchItems({
      keyword: "drone",
      limit: "3"
    })
    .then(data => {
      console.log(data);
      // Data is in format of JSON
      // To check the format of Data, Go to this url (https://developer.ebay.com/api-     docs/buy/browse/resources/item_summary/methods/search#w4-w1-w4-SearchforItemsbyKeyword-0)
    });
});

// perform Advance Search Items by Keyword or category or both
// Search Buy It Now ipad items with one day shipping. (https://developer.ebay.com/DevZone/finding/CallRef/findItemsAdvanced.html)
ebay
  .findItemsAdvanced({
    entriesPerPage: 2,
    keywords: "ipad",
    ExpeditedShippingType: "OneDayShipping",
    ListingType: "AuctionWithBIN"
  })
  .then(
    data => {
      console.log(data);
    },
    error => {
      console.log(error);
    }
  );

More Examples

Test

All test files are present inside test folder. You can run using

npm run test

Issues:

If you are facing any issues or missing something, you can create the issues here.

👍 Contribution:

Show your ❤️ and support by giving a ⭐. Willing to share your idea or ready to contribute, check here

📝 License:

MIT.

Examples:

I have provided the examples here https://github.com/pajaydev/ebay-node-api/tree/master/demo.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].