Skip to content

Commit

Permalink
Updated README and examples for season archive
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavk99 committed Oct 18, 2018
1 parent edcdf48 commit 350fa94
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ search_result = jikan.search('anime', 'Mushishi', page=3, key='type', value='tv'
winter_2018 = jikan.season(year=2018, season='winter')
spring_2016 = jikan.season(year=2016, season='spring')

# all the years and seasons on MAL
archive = jikan.season_archive()

# scheduled anime
scheduled = jikan.schedule()
# add a day of the week if you only want the day's schedule
Expand Down Expand Up @@ -110,6 +113,7 @@ def main(loop):
ginko = yield from aio_jikan.character(425)
naruto = yield from aio_jikan.search(search_type='anime', query='naruto')
winter_2018 = yield from aio_jikan.season(year=2018, season='winter')
archive = yield from aio_jikan.season_archive()
monday = yield from aio_jikan.schedule(day='monday')
top_anime = yield from aio_jikan.top(type='anime')
meta = yield from aio_jikan.meta(request='requests', type='anime', period='today')
Expand Down Expand Up @@ -139,6 +143,7 @@ async def main(loop):
ginko = await aio_jikan.character(425)
naruto = await aio_jikan.search(search_type='anime', query='naruto')
winter_2018 = await aio_jikan.season(year=2018, season='winter')
archive = await aio_jikan.season_archive()
monday = await aio_jikan.schedule(day='monday')
top_anime = await aio_jikan.top(type='anime')
meta = await aio_jikan.meta(request='requests', type='anime', period='today')
Expand Down
3 changes: 3 additions & 0 deletions examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
winter_2018 = jikan.season(year=2018, season='winter')
print(winter_2018)

archive = jikan.season_archive()
print(archive)

monday = jikan.schedule(day='monday')
print(monday)

Expand Down

0 comments on commit 350fa94

Please sign in to comment.