Code Monkey home page Code Monkey logo

etsy-listing-fetcher's Introduction

Etsy Listing Fetcher for NodeJS

Use the Etsy API with NodeJS to fetch listings

Prerequisites

  • NodeJS - Comes with npm
  • Git
  • ETSY_API_KEY - ETSY_API_KEY is the integration specific KEYSTRING
  • ETSY_SHOP_ID - A shop id is the referring_id in an Etsy shop's contact URL
  • [ETSY_API_SECRET] - This is the integration specific SHARED SECRET and is only required to get expired or inactive Listings
  • [ETSY_ACCESS_TOKEN] - This is the integration specific access_token and is only required to get expired or inactive Listings
  • [ETSY_ACCESS_TOKEN_SECRET] - This is the integration specific access_token's secret and is only required to get expired or inactive Listings

Installing

First install NodeJS for your platform and make sure to add it to the PATH. The installer should offer to do this for you. The same goes for git.

Then, clone this repository with git. The following examples use a bash terminal in Ubuntu/Linux. However, it should be very similar across platforms and command line interfaces.

git clone [email protected]/Wardevour/etsy-listing-fetcher.git

Next, you'll want to install the required dependencies. Run the npm install command from within the repository, like so:

cd etsy-listing-fetcher
npm install

Finally, you'll need to set some environment variables. You can do this with dotenv using a .env file.

The following is an example creating the .env file:

touch .env
echo "ETSY_API_KEY=XXXXXXXXXXX" >> .env
echo "ETSY_SHOP_ID=XXXXXXXXXXX" >> .env
echo "ETSY_API_SECRET=XXXXXXXXXXX" >> .env
echo "ETSY_ACCESS_TOKEN=XXXXXXXXXXX" >> .env
echo "ETSY_ACCESS_TOKEN_SECRET=XXXXXXXXXXX" >> .env

Running tests

npm test

Authors

  • Kenneth Brockert - Initial work - Wardevour

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

  • NodeJS
  • node-fetch
  • node-oauth
  • dotenv
  • mocha
  • chai
  • Etsy

The term 'Etsy' is a trademark of Etsy, Inc. This application uses the Etsy API but is not endorsed or certified by Etsy, Inc.

etsy-listing-fetcher's People

Contributors

wardevour avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.