Closed AlamarW closed 3 years ago
Hi, I also have the need of an album feature for a project I am working on so I tried reading the official API documentation by Genius and there was nothing useful, I later read on a forum thread that they decided to keep that part of the API closed to the public, so I analyzed the requests on their site and this is what I found out: You are not allowed to do any of this requests if you are using the session logged in via the client access token
requests.get('https://genius.com/api/artists/{ArtistID}/albums')
requests.get("https://genius.com/api/page_data/album?page_path=%2Falbums%2F{ArtistName}%2F{AlbumName}")
response > page_data > album_appearences
This is all I found out and I think it's enough, since you also have the IDs of the songs once you get the tracklist.
EDIT: I'm currently working and trying to implement this in my fork. As soon as I finish and I am happy with my work I'll see if I can do a pull request (I've not quite understood how all of this GIT things work so I'll look it up)
Hugo Nattagh was working on a fork for getting all the songs on album: https://github.com/Hugo-Nattagh/LyricsGenius
Take a look at his changes to see if it'd work for your purposes.
Hugo Nattagh was working on a fork for getting all the songs on album: https://github.com/Hugo-Nattagh/LyricsGenius
Take a look at his changes to see if it'd work for your purposes.
Why hasn't Hugo Nattagh's or ExalFabu's implementation of searching an album become part of LyricsGenius yet?
I'm intending to use this to pull lyrics from an entire album but I don't see an easy way to go about doing it. I would be a great feature to be able to pull from albums specifically. Otherwise, I find that I have to go song by song in album order of the songs I'm looking to save for analysis.