Your guide to the Hanime API by Ashlynn Repository
Explore the powerful features of the Hanime API:
Details of available endpoints:
Returns a welcome message to indicate the API is operational.
curl -X GET https://hentai.ashlynn.workers.dev/
Fetches detailed information about a specific video using its unique slug.
curl -X GET https://hentai.ashlynn.workers.dev/watch/sample-video-slug
Fetches trending videos based on the specified time filter and page number.
curl -X GET https://hentai.ashlynn.workers.dev/trending/week/1
Fetches browsing data for a specific type, such as hentai tags or brands.
curl -X GET https://hentai.ashlynn.workers.dev/browse/hentai_tags
Fetches all available hentai tags for exploration.
curl -X GET https://hentai.ashlynn.workers.dev/tags
curl -X GET https://hentai.ashlynn.workers.dev/trending/week/1
fetch('https://hentai.ashlynn.workers.dev/trending/week/1')
.then(response => response.json())
.then(data => console.log(data));
In case of errors, the API responds with a JSON object containing the error message:
{
"error": "Something went wrong"
}
HTTP Status Codes:
200 OK: Successful request.404 Not Found: The requested endpoint does not exist.500 Internal Server Error: The server encountered an error.This project is licensed under the MIT License.
This API was created by Ashlynn Repository. Check out the official channel for updates: