Skip to content

Instantly share code, notes, and snippets.

@alexandar-pixel
alexandar-pixel / main.py
Last active December 14, 2019 12:05 — forked from imdkm/GeniusMetaData.py
getting every song's meta data from a certain artist with Genius API
# this code is inspired by Jon Evans' project.
# http://www.jw.pe/blog/post/quantifying-sufjan-stevens-with-the-genius-api-and-nltk/
# link za github sa kog je originalni kod: https://gist.github.com/imdkm/a60247b59ff1881fa4bb8846a9b44c96
import requests, json
#from time import sleep
# constant values.
BASE_URL = "https://api.genius.com"
CLIENT_ACCESS_TOKEN = "<YOUR TOKEN HERE>"
@alexandar-pixel
alexandar-pixel / GeniusMetaData.py
Created December 14, 2019 11:59 — forked from imdkm/GeniusMetaData.py
getting every song's meta data from a certain artist with Genius API
# this code is inspired by Jon Evans' project.
# http://www.jw.pe/blog/post/quantifying-sufjan-stevens-with-the-genius-api-and-nltk/
import requests, json
from time import sleep
# constant values.
BASE_URL = "https://api.genius.com"
CLIENT_ACCESS_TOKEN = "<YOUR TOKEN HERE>"
ARTIST_NAME = "<ANY ARTIST NAME>"