Skip to main content

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.1.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rapy_genius-0.0.1-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file rapy_genius-0.0.1.tar.gz.

File metadata

  • Download URL: rapy_genius-0.0.1.tar.gz
  • Upload date:
  • Size: 11.0 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

Hashes for rapy_genius-0.0.1.tar.gz
Algorithm Hash digest
SHA256 68fcb513bacf37898436719f08cf3aaf4c18fc3c49c5a2d8aa8d60c671972b80
MD5 eeb351620e67c77217939211a4536e2f
BLAKE2b-256 e2ea664cf2bd4c478c0fea3d4899337682a924f9813536bb6c18d71def0655b7

See more details on using hashes here.

File details

Details for the file rapy_genius-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: rapy_genius-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • 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

Hashes for rapy_genius-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c42647fe1c796fb2f27502743bfb787dccaffa7047f969394367fa32d2a5bbb5
MD5 3c2b34bdb9ebd015682f4a76326a92af
BLAKE2b-256 f82612d9b44c3e8e9d4dd3d89247348b2465a71125c13e729e62e5958abc6f95

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page