Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmperez/spotify-new-releases-demo
Demo of New Releases Spotify Web API endpoint
https://github.com/jmperez/spotify-new-releases-demo
Last synced: 29 days ago
JSON representation
Demo of New Releases Spotify Web API endpoint
- Host: GitHub
- URL: https://github.com/jmperez/spotify-new-releases-demo
- Owner: JMPerez
- Created: 2014-10-23T14:13:34.000Z (about 10 years ago)
- Default Branch: gh-pages
- Last Pushed: 2015-12-08T16:27:24.000Z (almost 9 years ago)
- Last Synced: 2024-05-02T06:03:00.664Z (7 months ago)
- Language: JavaScript
- Homepage: https://jmperezperez.com/spotify-new-releases-demo/
- Size: 91.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Demo for New Releases Spotify Web API endpoint
===========This is a simple demo for the Spotify Web API [New Releases endpoint](https://developer.spotify.com/web-api/get-list-new-releases/). It is built using the [Spotify Web API JS wrapper](https://github.com/JMPerez/spotify-web-api-js) and [Knockout.js](http://knockoutjs.com/). A version using [React](http://facebook.github.io/react/) is available on [jmperez/spotify-new-releases-demo-react](https://github.com/JMPerez/spotify-new-releases-demo-react).
## Usage
If you want to run it locally, change the `redirectUri` variable in `js/oauth-config.js` to
`http://localhost:8000`.Then, start a server listening on port 8000. If you have python installed, you can run:
python -m SimpleHTTPServer 8000
If you want to deploy the project on a site different from `http://localhost:8000` you will need to register your own Application on the [My Applications section of the Developer Site](https://developer.spotify.com/my-applications/). Register the desired redirect uri and edit the file `js/oauth-config.js` replacing the `clientId` and `redirectUri`.