Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc clarification search_artist vs artist_songs #253

Open
dsm-72 opened this issue Jan 29, 2023 · 1 comment
Open

Doc clarification search_artist vs artist_songs #253

dsm-72 opened this issue Jan 29, 2023 · 1 comment

Comments

@dsm-72
Copy link

dsm-72 commented Jan 29, 2023

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants