johnwmillr / LyricsGenius

Download song lyrics and metadata from Genius.com 🎶🎤
http://www.johnwmillr.com/scraping-genius-lyrics/
MIT License
904 stars 159 forks source link

Doc clarification search_artist vs artist_songs #253

Open dsm-72 opened 1 year ago

dsm-72 commented 1 year ago

What is the difference between:

genius.search_artist(...)

and

genius.artist_songs(...)

Describe the solution you'd like Clarification on this.

Describe alternatives you've considered Write a clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

allerter commented 1 year ago

genius.search_artist is a convenience method that searches for an artist and returns an Artist object if it finds one. On the other hand, genius.artist_songs is an API method that returns an artist's songs as a list of dictionaries. You can refer to the docs reference for more info: https://lyricsgenius.readthedocs.io/en/latest/reference