-
Notifications
You must be signed in to change notification settings - Fork 29
/
examples.py
52 lines (35 loc) · 1.04 KB
/
examples.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
from jikanpy import Jikan
from pprint import pprint
jikan = Jikan()
# The following are examples only. Running this many at once
# will get you rate limited if you are not self hosting
mushishi = jikan.anime(457)
pprint(mushishi)
fma = jikan.manga(25)
pprint(fma)
ginko = jikan.characters(425)
pprint(ginko)
kana_hanazawa = jikan.people(185)
pprint(kana_hanazawa)
naruto_search = jikan.search(search_type="anime", query="naruto")
pprint(naruto)
winter_2018 = jikan.seasons(year=2018, season="winter")
pprint(winter_2018)
seasons = jikan.season_history()
pprint(seasons)
upcoming = jikan.seasons(extension='upcoming')
pprint(upcoming)
current_season = jikan.seasons(extension='now')
pprint(current_season)
monday = jikan.schedules(day="monday")
pprint(monday)
top_anime = jikan.top(type="anime")
pprint(top_anime)
action = jikan.genres(type="anime")
pprint(action)
deen = jikan.producers(37)
pprint(deen)
nekomata1037 = jikan.users(username="Nekomata1037")
pprint(nekomata1037)
fantasy_anime_league = jikan.clubs(379)
pprint(fantasy_anime_league)