How to use the jikanpy.Jikan function in jikanpy

To help you get started, we’ve selected a few jikanpy examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github AWConant / jikanpy / tests / test_jikan.py View on Github external
def test_strip_base_url():
    temp_jikan = Jikan("http://localhost:8000/v3/")
    assert temp_jikan.base == "http://localhost:8000/v3"

    temp_jikan_2 = Jikan("http://localhost:8000/v3/ ")
    assert temp_jikan_2.base == "http://localhost:8000/v3"
github AWConant / jikanpy / tests / test_jikan.py View on Github external
def test_strip_base_url():
    temp_jikan = Jikan("http://localhost:8000/v3/")
    assert temp_jikan.base == "http://localhost:8000/v3"

    temp_jikan_2 = Jikan("http://localhost:8000/v3/ ")
    assert temp_jikan_2.base == "http://localhost:8000/v3"
github AWConant / jikanpy / examples.py View on Github external
from jikanpy import Jikan
from pprint import pprint

jikan = Jikan()

mushishi = jikan.anime(457)
pprint(mushishi)

fma = jikan.manga(25)
pprint(fma)

ginko = jikan.character(425)
pprint(ginko)

kana_hanazawa = jikan.person(189)
pprint(kana_hanazawa)

naruto = jikan.search(search_type="anime", query="naruto")
pprint(naruto)