Coder Social home page Coder Social logo

montana / wicked-game Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 222 KB

get a push notification on your iOS device every time Chris Isaak's Wicked Game gets played in Gainesville, FL on local radio, written by Montana Mendy

Python 99.25% Dockerfile 0.75%

wicked-game's Introduction

wicked_game

Screenshot

For context,

https://www.youtube.com/watch?v=dlJew-Dw87I

Usage

Find out what local radio stations that could be playing Chris Isaak's classic "Wicked Game". It will send push notifications when and if a radio station is playing it in Gainesville, Florida.

Getting started, get your Rdio (now Pandora) API keys:

RDIO_API_KEY
RDIO_API_SECRET

You get these variables from the Rdio developer site (sign in and create a new app):

http://developer.rdio.com/

Additionally, you'll need this variable for the echo nest api:

An easy way to set up your vars is to create a file called env.sh and make it look like this:

export RDIO_API_KEY=yourkey
export RDIO_API_SECRET=yoursecret
export APP_SECRET=secret

Then just type source env.sh before you run your app locally, and it will essentially build it for you. Just make sure not to commit your env.sh file.

The 151 Flag

You can see when certain parts of Chris Isaak's - Wicked Game are playing, so my favorite part is 1:51 -- so let's say I just want a push notification when the song hits 1:51 you'd run, this only works from radio stations in Gainesville, FL though -- so if you run the 151 flag expecting San Francisco, it wouldn't work. You can change this by editing the gainesville.py file.

python3 gainesville.py -151

wicked-game's People

Watchers

James Cloos 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.