The base URL for the API
Internal method to make https get requests using the https nodejs module.
Returns the list of challenges authored by the user. Will throw a CodewarsError depending on the non-200 response status code.
the username or userId
response object with the data
Returns the code challenge. Will throw a CodewarsError depending on the non-200 response status code.
the challengeId or the challenge slug
code challenge
Returns the list of completed challenges for the given user. Will throw a CodewarsError depending on the non-200 response status code.
the username or userId
the page offset,
response object with number of pages, items and data.
Return the user for the given username or userId. Will throw a CodewarsError depending on the non-200 response status code.
the username or userId
the user found relative to the username or userId.
Generated using TypeDoc
Main interface class to interface with the codewars v1 public api.