ultimate-api | Python API | Audio Utils library
kandi X-RAY | ultimate-api Summary
kandi X-RAY | ultimate-api Summary
:guitar: Python API which scrapes ultimate-guitar.com for guitar chords
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Get a tab
- Parse html tab
- ReturnUltimateTabInfo from BeautifulSoup element
- Append chord line
- Returns a dictionary containing the tab content of the final tab
- Append a single line to JSON
- Appends a new line to the template
- Return the contents as a JSON dictionary
- Appends a blank line
- Return the JSON data from the last tab
ultimate-api Key Features
ultimate-api Examples and Code Snippets
Community Discussions
Trending Discussions on ultimate-api
QUESTION
I have this project in a DB course I'm taking this semester in which I'm required to build a web application and a design a DB for it.
The first step is to collect a large amount of records (At least 20k) which are music-related or themed. Now, I'm a guitar player myself so I wanted to do something with guitar tabs and/or chords and thought of using https://www.ultimate-guitar.com/ as a source for tabs and chords.
Unfortunately, https://www.ultimate-guitar.com/ does not provide an API that would allow me to easily access and retrieve a large amount of tabs. Luckily for me I found a couple of public GitHub repositories that seems to be what I need, even more so, one of them is in python which is the language of choice for this project.
Sadly, I am not versed in the ways of using external API's and I found myself unable to use the aformentioned repositories. I'm not sure if they are incomplete or if I simply failed to understand how to operate them. I tried cloning them using my PyCharm IDE but was unable to use them to get the tabs.
In an attempt to avoid writing something from scratch myself (which would take a considerable amount of time that frankly I do not have) I'm left with two choices:
- Ask SO for help with figuring out how to use these API's.
- Change the subject of my project.
Because it is a group project I would like to avoid the second option and so here are the repositories I found on GitHub:
- https://github.com/joncardasis/ultimate-api (Python)
- https://github.com/vincepii/uguitar-python (Python)
- https://github.com/masterT/ultimate-guitar-scraper (JavaScript)
I've sent an email to the author of the first repository as it is the most promising of the three but because of time constraints I've posted this question simultaneously.
UPDATE
As suggested, I will speicify my question, how can I use ultimate-api to write a python client program that access the tabs.
Your counsel and guidance is appreciated.
...ANSWER
Answered 2017-Dec-18 at 00:38I'm going to answer a specific question you asked: how to use ultimate-api
.
First make sure that you have python3
and virtualenv
installed on your machine:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ultimate-api
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
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page