pylyrical_api

Try it out


Usage

Responses

Responses are always in JSON. The following status codes are HTTP status codes.

  1. 200
  2. 400
  3. 404
  4. 500
  5. 502

Exceptions/Errors

  1. NoParameter: Occurs when no parameter was given.
  2. NoResults: Occurs when no results were found.
  3. ScrapeError: Occurs when pylyrical cannot scrape lyrics from genius.com
  4. RequestConnectionError: Occurs when pylyrical cannot send a request to genius.com