Code Monkey home page Code Monkey logo

spotipy's Introduction

SpotiPy

SpotiPy is a Python application that uses the Spotify API to display the currently playing song on a local Flask server. SpotiPy is designed to be used by streamers who want to display the currently playing song on their stream. It can be easily integrated into streaming software like OBS using the browser capture feature.


Getting Started

Before you can use SpotiPy, you will need to register an application with the Spotify Developer Dashboard to obtain a client ID and client secret. Follow these steps to get started:

  1. Run the setup.py file to install the required dependencies

  2. Go to the Spotify Developer Dashboard and log in to your Spotify account (or create a new account if you don't have one).

  3. Click the "Create An App" button and enter a name and description for your app.

  4. Input http://(IP):8000/callback for the redirect URI. (IP) is the IP address of the machine running the SpotiPy server
    e.g. http://192.168.0.1:8000/callback
    you can find your ip address here

  5. Once your app is created, note the client ID and client secret that are provided.

  6. Open the .env file in the SpotiPy directory and replace the CLIENT_ID and CLIENT_SECRET variables with the values from your Spotify app.

  7. Start the Flask server by running the following command:

python main.py
  1. access your flask server from localhost:8000

  2. follow the on screen instructions to authorise your app to access your Spotify account

Dependencies

  • python 3.10
  • pip installed to path

Authors

Contributors names


License

This project is licensed under the MIT License - see the LICENSE file for details

spotipy's People

Contributors

yoloftw avatar

Stargazers

 avatar

Watchers

Kostas Georgiou avatar  avatar

Forkers

rustypixel

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.