a python api to collect data from genius.com using their API
Project description
Rapy_Genius
Rapy is a package that uses the Genius API to collect data from genius.com as songs, artists and lyrics
This framework has two modules: genius_api: Contains the GeniusApiManager class. data_managger: Contains the GeniusApiDatabaseManager class that uses MongoDB and pymongo to store data and use it
Visit https://docs.genius.com/ to get API client access.
Installation
Run the following to install
'''python
pip install rapy_genius
'''
Usage
'''python
from genius_api import GeniusApiManager
from data_manager import GeniusApiDatabaseManager
API_CLIENT_ACCESS_TOKEN = "XXXXXXXXX" #The Api client access token generated from https://docs.genius.com/
api_manager = GeniusApiManager(API_CLIENT_ACCESS_TOKEN)
db_manager = GeniusApiDatabaseManager(db_name='Genius_scrapper')
add_artist(45) #Eminem
'''
Developing Rapy Genius
to install rapy_genius along with the tools you need to develop and run tests
'''bash
pip install -e .[dev]
'''
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rapy_genius-0.0.3.tar.gz
(10.4 kB
view details)
File details
Details for the file rapy_genius-0.0.3.tar.gz.
File metadata
- Download URL: rapy_genius-0.0.3.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e36e9404508e0fccb8f88612b79ab8b4cb33f7fdab348f6689bf73560a91ef43
|
|
| MD5 |
6657427ffda6a288e871b3d28b300caa
|
|
| BLAKE2b-256 |
93249ba17075160b2d63e68012ea8b923265299a9958594ae315e28c79dcb296
|