A Python wrapper for the Jikan API
Project description
jikan4
A Python wrapper for the Jikan API V4
Installation
pip install jikan4
Usage
Basic Usage
from jikan4.jikan import Jikan
jikan = Jikan()
anime = jikan.get_anime(1)
search = jikan.search_anime("tv", "naruto")
Async Usage
import asyncio
from jikan4.aiojikan import AioJikan
async def main():
jikan = AioJikan()
anime = await jikan.get_anime(1)
search = await jikan.search_anime('tv', 'naruto')
jikan.close()
if __name__ == '__main__':
asyncio.run(main())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jikan4-0.1.0.tar.gz
(4.7 kB
view hashes)
Built Distribution
jikan4-0.1.0-py3-none-any.whl
(6.3 kB
view hashes)