{"repo":"johnwmillr/LyricsGenius","free":true,"listed":false,"github":"https://github.com/johnwmillr/LyricsGenius","clone":"git clone https://github.com/johnwmillr/LyricsGenius.git","description":"Download song lyrics and metadata from Genius.com 🎶🎤","language":"Python","stars":1119,"topics":["genius-lyrics","genius-api","song-lyrics","lyrics","scraping-lyrics","download-lyrics","python"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"LyricsGenius: a Python client for the Genius.com API lyricsgenius provides a simple interface to the song, artist, and lyrics data stored on Genius.com. The full documentation for lyricsgenius is available online at Read the Docs. Setup Before using this package you'll need to sign up for a (free) account that authorizes access to the Genius API. The Genius account provides a access token that is required by the package. See the Usage section below for examples. Installation lyricsgenius requires Python 3.11 or greater. Use pip to install the package from PyPI: Or, install the latest version of the package from GitHub: Usage Import the package and initiate Genius: If you don't pass a token to the Genius class, lyricsgenus will look for an environment variable called GENIUS ACCESS TOKEN and attempt to use that for authentication. Search for songs by a given artist: By default, the search artist() only returns songs where the given artist is the primary artist. However, there may be instances where it is desirable to get all of the songs that the artist appears on. You can do this by setting the include features argument to True . Search for a single song by the same artist: Add the song to the artist object: Save the artist's songs to a JSON file: Searching for an album and saving it: There are various options configurable as parameters within the Genius class: By default the library is silent. To enable progress logging: You can also call the package from the command line: Ex","default_branch":null,"files":null,"tree":[],"storefront":"/r/johnwmillr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/johnwmillr/LyricsGenius/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}