Releases: jokelbaf/hhaven
Releases · jokelbaf/hhaven
v0.1.4
v0.1.3
New features
List of new features added to library in this release.
Classes
Client
- Main class. All requests must be made through it.
Methods
Client.build()
- Use this function to build a client.Client.home()
- Get home page info.Client.search()
- Search for hentai.Client.get_hentai()
- Get full hentai info using it's ID.Client.get_episode()
- Get full hentai episode info.Client.get_all_genres()
- Get list of all hentai genres.Client.get_genre_page()
- Get page with list of hentai of the requested genre.Client.get_all_hentai()
- Get page of all available hentai on the website.Client.get_new_token()
- Obtain new Cloudflare token.
Exceptions
HHavenException
- Base Hentai Haven exception.HHavenRateLimited
- You were rate limited. Please try again later.HHavenNotFound
- Requested resource does not exist.TokenException
- Invalid Hentai Haven token.HentaiNotFound
- Unable to find hentai with the ID you provided.GenrePageNotFound
- Unable to find genre page with the ID and index you provided.HentaiPageNotFound
- Unable to find hentai page with this index.HentaiEpisodeNotFound
- Unable to find hentai episode with the IDs you provided.
Other
- The library now supports caching using aiocache.
- Added ability to enable requests debugging.
- Objects are now returned as Pydantic Models.
- New documentation using mkdocs.
- New API Reference using pdoc.
Improvements
Nothing here since this is a first release.