Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vnegi10/spotify_data_analysis
https://github.com/vnegi10/spotify_data_analysis
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vnegi10/spotify_data_analysis
- Owner: vnegi10
- Created: 2021-10-31T21:11:49.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-31T21:11:51.000Z (about 3 years ago)
- Last Synced: 2024-11-29T03:13:04.823Z (24 days ago)
- Language: Julia
- Size: 425 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repository contains Julia code that can be used to make API calls to Spotify, and fetch information about audio tracks, artists, playlists etc.
## Obtain valid API credentials
This can be done by creating a Spotify developer account [here.](https://medium.com/r/?url=https%3A%2F%2Fdeveloper.spotify.com%2F) Open your dashboard, and create an app by filling a name and purpose. Then click on "Show Client Secret" to view your secret key. Copy these credentials into your **spotify_credentials.ini** file, which will be created automatically (in your home directory) the first time when you try to run the provided Pluto notebook. Credentials are only valid for 1 hour, so they need to be refreshed as shown in the notebook.
## How to use?
Install Pluto.jl (if not done already) by executing the following commands in your Julia REPL:
using Pkg
Pkg.add("Pluto")
using Pluto
Pluto.run()Clone this repository, and open **Spotify_notebook.jl** via Pluto. The package manager should automatically download the necessary packages for you when you run the notebook for the first time.