Git Product home page Git Product logo

spoopify's Introduction

spoopify

Desc

I found that spotify was doing a bad job of showing me actually random music. Often, it'd just show me music that is similar but different than the music I already listen to. I wrote this to make it easier to find music in spotify that is truly unlike anything I already listen to.

The project will crawl around the spotify api and persists artist metadata into a sqlite database. I used this database to find weird genres that I'd never heard of before.

Configuration

Get creds and put them here

# config/creds.json
{
    "client_id": "foo",
    "client_secret": "bar"
}

Then run it, it was developed with python 3.8

touch db/db.sqlite
python3 -m venv ./env
source ./env/bin/activate
pip install -r requirements.txt
cd src
python3 main.py

--

Some Caveats

  • doesn't handle rate limits
  • doesn't reauthenticate if the token expires
  • for some reason the api returns a 404 as soon as you try to paginate past the 2000th page with an offset of 50. So idk if they just don't make it possible to search all 1million + artists, or if I'm overlooking something

spoopify's People

Contributors

ahulab avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.