:guitar: Python API which scrapes ultimate-guitar.com for guitar chords
An API for ultimate-guitar.com
Install python3 from https://www.python.org/downloads/
Create a virtual environment of python3:
# Install virtualenv:
# pip install virtualenv
virtualenv -p /usr/local/bin/python3 venv
source venv/bin/activate
Install dependancies:
pip install -r requirements.txt
Usage:
export FLASK_DEBUG=1 // Export for debug
python run.py
Method | Endpoint | Parameters | Result |
---|---|---|---|
GET |
/tab |
url : A full (including protocol) url for an ultimate-guitar.com tab. |
JSON response containing tab info as well as each tab line |
To run the full test suite execute the following from the top level directory.
python test.py