An open API service indexing awesome lists of open source software.

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

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
```