gitfrosh / lotr-api

This repository holds the code base of the API to rule them all, the Lord of the Rings api, which provides you with book, character, movie and quotes data.
https://the-one-api.dev
238 stars 66 forks source link

Endpoint does not exist #63

Closed konsoul closed 2 years ago

konsoul commented 2 years ago

https://the-one-api.dev/v2/ -- Endpoint does not exist error.

Also, when calling from python using response.raise_for_status() I get a 404 Client Error: Not Found for url.

gitfrosh commented 2 years ago

Hi @konsoul, https://the-one-api.dev/v2/ only serves as the base URL for the API. For data access, you should use a specific endpoint (as an example, start with https://the-one-api.dev/v2/book). Further endpoints are listed in the documentation: https://the-one-api.dev/documentation.

Hope this helps! Best, Rike

konsoul commented 2 years ago
Oh my goodness thank you!  I am still new to all this stuff, and sometimes just read over key words like “prefixed” lol.  That helps a bunch thanks again. Sent from Mail for Windows From: RikeSent: Thursday, February 10, 2022 12:49 AMTo: gitfrosh/lotr-apiCc: Brad Rappa; MentionSubject: Re: [gitfrosh/lotr-api] Endpoint does not exist (Issue #63) Hi @konsoul, https://the-one-api.dev/v2/ only serves as the base URL for the API. For data access, you should use a specific endpoint (as an example, start with https://the-one-api.dev/v2/book). Further endpoints are listed in the documentation: https://the-one-api.dev/documentation.Hope this helps!Best, Rike—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.Message ID: ***@***.***>