GithubHelp home page GithubHelp logo

imclab / locallisten Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dasmith/locallisten

0.0 2.0 0.0 911 KB

Finds popular songs by the bands who will soon play nearby

License: MIT License

locallisten's Introduction

Local Listen

A script to find a few popular songs (on Google Play (All Access)) of the bands that are performing nearby within the next week (found using JamBase). It adds the songs to a playlist on Google Play so you can listen and discover bands before you miss a chance to see them perform live.

To use this script you need to have:

  1. Credentials to login to an "All Access" Google Play subscription
  2. An API key for JamBase, which you can sign up for at http://developer.jambase.com/page

This script depends on the following Python libraries:

  • simon-weber/Unofficial-Google-Music-API
  • requests
  • dasmith/gitpass

Running the script

First, install the dependencies, e.g.

sudo pip install gmusicapi requests gitpass

Second, request an API key from http://developer.jambase.com/

Third, open the file locallisten.py in your text editor and edit the parameters at the top of the script:

#---------------------------------------
# script parameters
zipcode = "02139"
radius_in_miles = "5"
name_of_playlist = "! Bands playing in Cambridge, MA"
#---------------------------------------

Now, run the script:

python locallisten.py

The first time you run the script it will ask you to type in your Google Play password and your JamBase API key. gitpass saves these as hidden files so you don't have to type them in again.

Dustin Smith
[email protected]

2014/4/23

locallisten's People

Contributors

dasmith avatar

Watchers

 avatar  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.