/lyrics
q
/lyrics?q=how+do+i+make+you+love+me+the+weeknd
Responses are always in JSON. The following status codes are HTTP status codes.
{"artists": "", "lyrics": "", "source": "", "status": "200", "title": "", "cover_image": ""}
Note: cover_image
is null
if backend could not scrape the cover image.
{"exception": "NoParameter", "message": "Missing parameter 'q'.", "status": "400"}
{"exception": "NoResults", "message": "'' did not give any results, Please try a different term.", "status": "404"}
{"exception": "ScrapeError", "message": "", "status": "500"}
{"exception": "RequestConnectionError", "message": "", "status": "502"}
NoParameter
: Occurs when no parameter was given.
NoResults
: Occurs when no results were found.ScrapeError
: Occurs when pylyrical cannot scrape
lyrics from genius.com
RequestConnectionError
: Occurs when pylyrical
cannot send a request to genius.com