README.md

January 15, 2021 ยท View on GitHub

Examples for spotify-graphql NPM package

Node.js (v6)

  • Copy examples/config.example.json to examples/config.json
  • Edit examples/config.json with your application info (see spotify doc)
npm i
nvm use 4.3.2
node examples/fetchTracks.js

TypeScript

  • Copy examples/config.example.ts to examples/config.ts
  • Edit examples/config.ts with your application info (see spotify doc)
npm i
tsc
nvm use 4.3.2
node build/examples/fetchTracks.js