https://github.com/charlypoly/spotify-graphql-examples
Examples in TypeScript and Node.js (v6) for spotify-graphql NPM package
https://github.com/charlypoly/spotify-graphql-examples
Last synced: about 1 year ago
JSON representation
Examples in TypeScript and Node.js (v6) for spotify-graphql NPM package
- Host: GitHub
- URL: https://github.com/charlypoly/spotify-graphql-examples
- Owner: charlypoly
- License: mit
- Created: 2016-11-28T12:28:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-01-15T11:41:25.000Z (over 5 years ago)
- Last Synced: 2025-03-30T11:02:37.506Z (about 1 year ago)
- Size: 10.7 KB
- Stars: 27
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
### Examples for [spotify-graphql](https://github.com/wittydeveloper/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](https://developer.spotify.com/my-applications))
```
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](https://developer.spotify.com/my-applications))
```
npm i
tsc
nvm use 4.3.2
node build/examples/fetchTracks.js
```