Giter Site home page Giter Site logo

j-tesla / c-3po Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lttkgp/c-3po

0.0 1.0 0.0 237 KB

The metadata overlord and API server for LTTKGP

Home Page: https://api.lttkgp.com

License: MIT License

Python 96.63% Shell 0.87% Mako 1.01% Dockerfile 1.48%

c-3po's Introduction

C3PO by SteveArgyle on Deviantart

C3PO

When he's not flying around with the Solos and Skywalkers on the Millenium Falcon, C-3PO decided to help LTTKGP out with managing the huge amount of songs being posted each day to the group and organising them in a database (such a nice guy!) so we can build cool functionality on top of it.

Getting started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Docker & Docker Compose

  • Spotify Web API Credentials

    You will also need Spotify authorization for fetching song metadata. The prodcude is very straightforward. Register a new application here: Spotify for Developers

    That will give you a unique client ID and client secret key to use in authorization flows.

  • Google Application Credentials

    Google Application Credentials is an API key that is required to extract YouTube metadata from the Youtube Data API. To get the key, create a new project on the Google Developer Console, enable the YouTube Data API and proceed to Credentials and create a new API key.

Setting up

  • Create a .env file, using the .env.template file as reference.

    cp .env.template .env

    Fill all the fields using the credentials created as part of the pre-requisites.

Developing

  • Install Development Dependencies

    pip install -e . -r requirements/dev.txt
  • Install pre-commit hooks

    pre-commit install

Starting the server

Run the server with:

docker-compose up

The API server should be accessible at http://localhost:8000/.

Populating the database

Follow the instructions on R2-D2 and start it.

Contributing

Contributions are always welcome. Your contributions could either be creating new features, fixing bugs or improving documentation and examples. Find more detailed information in CONTRIBUTING.md.

License

MIT

c-3po's People

Contributors

2000yeshu avatar cipherlord avatar damienjacinto avatar dependabot[bot] avatar ghostwriternr avatar parth-paradkar 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.