Code Monkey home page Code Monkey logo

flask-spotify-recommendation-engine's Introduction

Spotify Recommendation Engine

This project is a simple Spotify recommendation engine. It uses the Spotify API to search for a track and get recommendations based on that track.

Setup

Before running the code, make sure you have the following:

  • Python installed on your system
  • Spotify API credentials (client ID and client secret)

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/spotify-recommendation-engine.git
  2. Install the required dependencies:

    pip install -r requirements.txt

Configuration

  1. Open the code file app.py in a text editor.
  2. Replace the client_id and client_secret variables with your own Spotify API credentials.

Usage

  1. Run the code:

    python recommendation_engine.py
  2. Open your web browser and navigate to https://spotify-recommendation-engine.onrender.com/.

  3. Enter the name of a track in the input field and click the "Submit" button.

  4. The application will search for the track and display up to 5 recommended tracks based on the input track.

Deployment

This application is deployed on Render and can be accessed at https://spotify-recommendation-engine.onrender.com/.

Please note that you need to deploy this application on your own Render account if you want to access it with your specific credentials.

To deploy the application on Render, follow these steps:

  1. Sign up for a Render account at https://render.com/.
  2. Create a new web service on Render.
  3. Set the GitHub repository as the source for the web service.
  4. Configure the environment variables client_id and client_secret with your Spotify API credentials.
  5. Deploy the web service.
  6. Once the deployment is complete, you can access the application at the provided URL.

License

This code is released under the MIT License. Feel free to modify and use it according to your needs.

flask-spotify-recommendation-engine's People

Contributors

firangi0799 avatar

Stargazers

 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.