This will bring you to a dashboard for the app where you can find your client id & client secret (click show client secret to find it). On your developer dashboard, click CREATE AN APP, fill out the fields for App name and App description, check the verification statements, and create your app. Log-in to an existing account or or create a new account (any account type will suffice). ![]() This will become your homepage for any applications you want to create using Spotify data. To generate your access token, you will first need a client id, client secret, refresh uri, and refresh token. To make a get request for your currently playing song, and for a majority of other requests to the Spotify API, you will need an access token. We will then format and display the data obtained by our script in an html file, and push our project such that it is publicly hosted by Netlify via the use of serverless lambda functions.Ĭheck out a demo of what you're about to create here! However, instead of displaying what I'm listening to on Spotify, your project will display what you are listening to.įirst, we need to acquire some of the account information needed to access personal data via the Spotify API. ![]() For this project we are going to utilize the Spotify Web API to acquire the title, artist, and link to our currently playing song on Spotify through a Node.js script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |