ranimegen 1.0.0
A python lib to generate random anime and its information
License: MIT
Keywords: discord random-anime anime ranime random-anime-generator anime-generator

# ranimegen
![https://pypi.org/project/ranimegen/](https://img.shields.io/pypi/v/ranimegen)

Python Package for Random Anime Generation using BeautifulSoup, KitsuAPI and JikanAPI

```
pip install ranimegen
``` 

# Basic Usage

```py
from ranimegen.animegen import RandomAnime


generator = RandomAnime()
myinfo = await generator.suggestanime()

print(myinfo)

...
>>> (json response with anime information from Kitsu's API)
```
# Advanced Usage

```py
from ranimegen.animegen import RandomAnime

generator = RandomAnime()


all_genre = generator.genres
print(all_genre)
...
>>> ['Action', 'Adventure', 'Cars', 'Comedy', 'Dementia', 'Demons', 'Mystery', 'Drama', 'Ecchi', 'Fantasy', 'Game', 'Historical', 'Horror', 'Kids', 'Magic', 'Martial_Arts', 'Mecha', 'Music', 'Parody', 'Samurai', 'Romance', 'School', 'Sci-Fi', 'Shoujo', 'Shoujo_Ai', 'Shounen', 'Shounen_Ai', 'Space', 'Sports', 'Super_Power', 'Vampire', 'Yaoi', 'Yuri', 'Harem', 'Slice_of_Life', 'Supernatural', 'Military']
```




You can now get suggestion for specific genres mentioned above!

```py
myinfo = await generator.suggestanime(genre="demons magic romance slice_of_life")
print(myinfo)
```

Also added a safe argument, which is True by default. If added argument was set to false, the suggest might return NSFW content as well! (hentai)

```py
myinfo = await generator.suggestanime(safe=False) # genre = hentai (optional)
```

However do note, output for NSFW content is different, as Jikan API is being utilized instead of Kitsu API to get the information for nsfw content. Kitsu API request OAuth verification for obtaining NSFW searches. With this also comes an issue of keeping in mind of Jikan API's ratelimits. Which is apparently 2 requests /second or 30 requests/min. Keeping in mind the code's execution and waiting time, you **SHOULD NOT** hit the ratelimits. However, it is advised to apply a cooldown to usage of this.

(About 10 outputs per search) `to access go inside the result key and index the list of animes`
```py
{
   "request_hash":"request:search:ae32ae0c4d226c8ad08425b99439fec98c0afce2",
   "request_cached":false,
   "request_cache_expiry":432000,
   "results":[
      {
         "mal_id":29575,
         "url":"https://myanimelist.net/anime/29575/Mankitsu_Happening",
         "image_url":"https://cdn.myanimelist.net/images/anime/9/77590.jpg?s=632a5d33145d2000ce5fec1dfbd76747",
         "title":"Mankitsu Happening",
         "airing":false,
         "synopsis":"Keiichi Oyamada has a mysterious power that always makes him seem like a lucky pervert, as one way or another, he ends up having sexual intercourse with any female he meets. Due to this, he has never...",
         "type":"OVA",
         "episodes":4,
         "score":7.71,
         "start_date":"2015-03-27T00:00:00+00:00",
         "end_date":"2015-08-28T00:00:00+00:00",
         "members":44340,
         "rated":"Rx"
      },
      {
         "mal_id":28299,
         "url":"https://myanimelist.net/anime/28299/Ookami_Shoujo_to_Kuro_Ouji__Gishinanki_–_Happening_Kiss",
         "image_url":"https://cdn.myanimelist.net/images/anime/7/70461.jpg?s=dfa14663b872f4ce145864ed99fad9d2",
         "title":"Ookami Shoujo to Kuro Ouji: Gishinanki – Happening Kiss",
         "airing":false,
         "synopsis":"OVA bundled with 12th manga volume. The OVA includes a popular chapter that was not adapted in the TV series. (Source: MAL News, edited)",
         "type":"OVA",
         "episodes":1,
         "score":7.26,
         "start_date":"2015-04-24T00:00:00+00:00",
         "end_date":"2015-04-24T00:00:00+00:00",
         "members":46014,
         "rated":"PG-13"
      },
      {
         "mal_id":12643,
         "url":"https://myanimelist.net/anime/12643/Happening_Star_☆",
         "image_url":"https://cdn.myanimelist.net/images/anime/13/35451.jpg?s=5a0eb50bd55a698956cca73f514c8ca7",
         "title":"Happening Star ☆",
         "airing":false,
         "synopsis":"The science-fiction adventure story takes place 46 million light years away from Earth in the Sombrero Galaxy on a planet named Milky. The alien boy Kid, who refers to himself as Space's #1 Pilot, use...",
         "type":"OVA",
         "episodes":1,
         "score":0,
         "start_date":"2012-01-22T00:00:00+00:00",
         "end_date":"2012-01-22T00:00:00+00:00",
         "members":180,
         "rated":"G"
      },
      {
         "mal_id":40085,
         "url":"https://myanimelist.net/anime/40085/Maesetsu",
         "image_url":"https://cdn.myanimelist.net/images/anime/1555/109492.jpg?s=db938c91fd6ee0c19c6ecb20179fdcc3",
         "title":"Maesetsu!",
         "airing":false,
         "synopsis":"The anime centers on four girls at the full bloom of their youth, working hard to achieve their dreams as they struggle valiantly. In Japanese entertainment, Maesetsu! refers to an introductory talk o...",
         "type":"TV",
         "episodes":12,
         "score":5.75,
         "start_date":"2020-10-11T00:00:00+00:00",
         "end_date":"2020-12-27T00:00:00+00:00",
         "members":9339,
         "rated":"PG-13"
      },
      {
         "mal_id":6628,
         "url":"https://myanimelist.net/anime/6628/Dengeki_Bunko_2007_Movie_Festival_Special",
         "image_url":"https://cdn.myanimelist.net/images/anime/8/15181.jpg?s=5e1ef148ac8218f710fea53e6a5f59da",
         "title":"Dengeki Bunko 2007 Movie Festival Special",
         "airing":false,
         "synopsis":"Played at Dengeki Bunko's Movie Festival on 21 April 2007 before the Shakugan no Shana, Inukami! and Kino no Tabi movies. It was later released on DVD and sold at Dengeki's 15th Anniversary event.",
         "type":"Special",
         "episodes":1,
         "score":6.18,
         "start_date":"2007-04-21T00:00:00+00:00",
         "end_date":"2007-04-21T00:00:00+00:00",
         "members":4523,
         "rated":"G"
      },
      {
         "mal_id":9629,
         "url":"https://myanimelist.net/anime/9629/Cyborg_009__The_Reopening",
         "image_url":"https://cdn.myanimelist.net/images/anime/5/26666.jpg?s=7d5619c5ad046ba8670040e98f07a1a1",
         "title":"Cyborg 009: The Reopening",
         "airing":false,
         "synopsis":"A short 3D CGI anime of Cyborg 009 produced by director Oshii Mamoru.",
         "type":"Special",
         "episodes":1,
         "score":5.53,
         "start_date":"2010-10-05T00:00:00+00:00",
         "end_date":"2010-10-05T00:00:00+00:00",
         "members":1691,
         "rated":"PG-13"
      },
      {
         "mal_id":19573,
         "url":"https://myanimelist.net/anime/19573/Short_Peace_Opening",
         "image_url":"https://cdn.myanimelist.net/images/anime/10/55731.jpg?s=0dbe5b4182e1d3d4e3845ef7aa65f526",
         "title":"Short Peace Opening",
         "airing":false,
         "synopsis":"The opening animation of the compilation movie, Short Peace.",
         "type":"Special",
         "episodes":1,
         "score":6.21,
         "start_date":"2013-07-20T00:00:00+00:00",
         "end_date":"2013-07-20T00:00:00+00:00",
         "members":5346,
         "rated":"G"
      },
      {
         "mal_id":42142,
         "url":"https://myanimelist.net/anime/42142/X-Men_Openings",
         "image_url":"https://cdn.myanimelist.net/images/anime/1198/107853.jpg?s=451d6a13d37569f0f79f67dbcd022f66",
         "title":"X-Men Openings",
         "airing":false,
         "synopsis":"For the TV Tokyo dub of the series, the intro was replaced with a new, Japanese-animated sequence as well as a new theme called \"Rising\", by the band Ambience. Starting with episode 42, a second new i...",
         "type":"Special",
         "episodes":2,
         "score":6.48,
         "start_date":"1994-04-01T00:00:00+00:00",
         "end_date":"1994-10-01T00:00:00+00:00",
         "members":302,
         "rated":"PG-13"
      },
      {
         "mal_id":32728,
         "url":"https://myanimelist.net/anime/32728/Sensou_no_Tsukurikata",
         "image_url":"https://cdn.myanimelist.net/images/anime/1444/93487.jpg?s=8a69e10df77f3c16921047b76a78132f",
         "title":"Sensou no Tsukurikata",
         "airing":false,
         "synopsis":"Short anti-war animation adapting the picture book Sensou no Tsukurikata. It was created by the group NOddIN.",
         "type":"Movie",
         "episodes":1,
         "score":6.45,
         "start_date":"2015-10-02T00:00:00+00:00",
         "end_date":"2015-10-02T00:00:00+00:00",
         "members":592,
         "rated":"PG"
      },
      {
         "mal_id":28205,
         "url":"https://myanimelist.net/anime/28205/Fastening_Days",
         "image_url":"https://cdn.myanimelist.net/images/anime/10/68209.jpg?s=5f49d81e38eddd67c0007083716370f9",
         "title":"Fastening Days",
         "airing":false,
         "synopsis":"Yoji and Kei, a boy and girl, live in a town in the not-so-distant future with their foster parent, Anna. But these seemingly ordinary children have a secret hidden even from their unsuspecting mother...",
         "type":"ONA",
         "episodes":1,
         "score":6.45,
         "start_date":"2014-10-30T00:00:00+00:00",
         "end_date":"2014-10-30T00:00:00+00:00",
         "members":5472,
         "rated":"G"
      }
   ],
   "last_page":20
}
``` 
# Output Format: JSON

(About 10 outputs per search) `to access go inside the data key and index the list of animes`

```py
{
	'data': [{
		'id': '11',
		'type': 'anime',
		'links': {
			'self': 'https://kitsu.io/api/edge/anime/11'
		},
		'attributes': {
			'createdAt': '2013-02-20T16:00:24.797Z',
			'updatedAt': '2021-07-01T13:55:03.575Z',
			'slug': 'naruto',
			'synopsis': "Moments prior to Naruto Uzumaki's birth, a huge demon known as the Kyuubi, the Nine-Tailed Fox, attacked Konohagakure, the Hidden Leaf Village, and wreaked havoc. In order to put an end to the Kyuubi's rampage, the leader of the village, the Fourth Hokage, sacrificed his life and sealed the monstrous beast inside the newborn Naruto.\nNow, Naruto is a hyperactive and knuckle-headed ninja still living in Konohagakure. Shunned because of the Kyuubi inside him, Naruto struggles to find his place in the village, while his burning desire to become the Hokage of Konohagakure leads him not only to some great new friends, but also some deadly foes.\n[Written by MAL Rewrite]",
			'description': "Moments prior to Naruto Uzumaki's birth, a huge demon known as the Kyuubi, the Nine-Tailed Fox, attacked Konohagakure, the Hidden Leaf Village, and wreaked havoc. In order to put an end to the Kyuubi's rampage, the leader of the village, the Fourth Hokage, sacrificed his life and sealed the monstrous beast inside the newborn Naruto.\nNow, Naruto is a hyperactive and knuckle-headed ninja still living in Konohagakure. Shunned because of the Kyuubi inside him, Naruto struggles to find his place in the village, while his burning desire to become the Hokage of Konohagakure leads him not only to some great new friends, but also some deadly foes.\n[Written by MAL Rewrite]",
			'coverImageTopOffset': 209,
			'titles': {
				'en': 'Naruto',
				'en_jp': 'Naruto',
				'ja_jp': 'ナ ルト'
			},
			'canonicalTitle': 'Naruto',
			'abbreviatedTitles': ['NARUTO'],
			'averageRating': '79.74',
			'ratingFrequencies': {
				'2': '585',
				'3': '4',
				'4': '483',
				'5': '13',
				'6': '498',
				'7': '22',
				'8': '2268',
				'9': '48',
				'10': '2694',
				'11': '93',
				'12': '5959',
				'13': '259',
				'14': '15277',
				'15': '587',
				'16': '12028',
				'17': '792',
				'18': '7523',
				'19': '389',
				'20': '22340'
			},
			'userCount': 107919,
			'favoritesCount': 3017,
			'startDate': '2002-10-03',
			'endDate': '2007-02-08',
			'nextRelease': None,
			'popularityRank': 42,
			'ratingRank': 644,
			'ageRating': 'PG',
			'ageRatingGuide': 'Teens 13 or older',
			'subtype': 'TV',
			'status': 'finished',
			'tba': '',
			'posterImage': {
				'tiny': 'https://media.kitsu.io/anime/poster_images/11/tiny.jpg?1597698839',
				'small': 'https://media.kitsu.io/anime/poster_images/11/small.jpg?1597698839',
				'medium': 'https://media.kitsu.io/anime/poster_images/11/medium.jpg?1597698839',
				'large': 'https://media.kitsu.io/anime/poster_images/11/large.jpg?1597698839',
				'original': 'https://media.kitsu.io/anime/poster_images/11/original.jpg?1597698839',
				'meta': {
					'dimensions': {
						'tiny': {
							'width': 110,
							'height': 156
						},
						'small': {
							'width': 284,
							'height': 402
						},
						'medium': {
							'width': 390,
							'height': 554
						},
						'large': {
							'width': 550,
							'height': 780
						}
					}
				}
			},
			'coverImage': {
				'tiny': 'https://media.kitsu.io/anime/cover_images/11/tiny.jpg?1597701519',
				'small': 'https://media.kitsu.io/anime/cover_images/11/small.jpg?1597701519',
				'large': 'https://media.kitsu.io/anime/cover_images/11/large.jpg?1597701519',
				'original': 'https://media.kitsu.io/anime/cover_images/11/original.jpg?1597701519',
				'meta': {
					'dimensions': {
						'tiny': {
							'width': 840,
							'height': 200
						},
						'small': {
							'width': 1680,
							'height': 400
						},
						'large': {
							'width': 3360,
							'height': 800
						}
					}
				}
			},
			'episodeCount': 220,
			'episodeLength': 23,
			'totalLength': 5060,
			'youtubeVideoId': 'j2hiC9BmJlQ',
			'showType': 'TV',
			'nsfw': False
		},
		'relationships': {
			'genres': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/11/relationships/genres',
					'related': 'https://kitsu.io/api/edge/anime/11/genres'
				}
			},
			'categories': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/11/relationships/categories',
					'related': 'https://kitsu.io/api/edge/anime/11/categories'
				}
			},
			'castings': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/11/relationships/castings',
					'related': 'https://kitsu.io/api/edge/anime/11/castings'
				}
			},
			'installments': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/11/relationships/installments',
					'related': 'https://kitsu.io/api/edge/anime/11/installments'
				}
			},
			'mappings': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/11/relationships/mappings',
					'related': 'https://kitsu.io/api/edge/anime/11/mappings'
				}
			},
			'reviews': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/11/relationships/reviews',
					'related': 'https://kitsu.io/api/edge/anime/11/reviews'
				}
			},
			'mediaRelationships': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/11/relationships/media-relationships',
					'related': 'https://kitsu.io/api/edge/anime/11/media-relationships'
				}
			},
			'characters': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/11/relationships/characters',
					'related': 'https://kitsu.io/api/edge/anime/11/characters'
				}
			},
			'staff': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/11/relationships/staff',
					'related': 'https://kitsu.io/api/edge/anime/11/staff'
				}
			},
			'productions': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/11/relationships/productions',
					'related': 'https://kitsu.io/api/edge/anime/11/productions'
				}
			},
			'quotes': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/11/relationships/quotes',
					'related': 'https://kitsu.io/api/edge/anime/11/quotes'
				}
			},
			'episodes': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/11/relationships/episodes',
					'related': 'https://kitsu.io/api/edge/anime/11/episodes'
				}
			},
			'streamingLinks': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/11/relationships/streaming-links',
					'related': 'https://kitsu.io/api/edge/anime/11/streaming-links'
				}
			},
			'animeProductions': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/11/relationships/anime-productions',
					'related': 'https://kitsu.io/api/edge/anime/11/anime-productions'
				}
			},
			'animeCharacters': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/11/relationships/anime-characters',
					'related': 'https://kitsu.io/api/edge/anime/11/anime-characters'
				}
			},
			'animeStaff': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/11/relationships/anime-staff',
					'related': 'https://kitsu.io/api/edge/anime/11/anime-staff'
				}
			}
		}
	}, {
		'id': '7543',
		'type': 'anime',
		'links': {
			'self': 'https://kitsu.io/api/edge/anime/7543'
		},
		'attributes': {
			'createdAt': '2013-02-20T17:57:39.629Z',
			'updatedAt': '2021-07-01T13:46:18.591Z',
			'slug': 'the-last-naruto-the-movie',
			'synopsis': 'It has been two years since the Fourth Shinobi World War, and the world is once again existing in harmony—that is, until another threat surfaces and once again puts the planet on the very brink of destruction.\nAmidst the impending catastrophe, Hinata Hyuuga’s sister, Hanabi, is suddenly abducted. Naruto Uzumaki, together with a team of skillful ninjas; Sakura, Sai, Shikamaru, and Hinata, set out to rescue Hanabi from the evil clutches of Toneri Ootsutsuki. While they get closer and closer to completing their mission, they are faced with several adversaries, who will not only test the relationship they have with one another, but also puts the fate of the planet in face of uncertainty. As the clock ticks, the team rushes to end the last battle, fighting for peace...and love.',
			'description': 'It has been two years since the Fourth Shinobi World War, and the world is once again existing in harmony—that is, until another threat surfaces and once again puts the planet on the very brink of destruction.\nAmidst the impending catastrophe, Hinata Hyuuga’s sister, Hanabi, is suddenly abducted. Naruto Uzumaki, together with a team of skillful ninjas; Sakura, Sai, Shikamaru, and Hinata, set out to rescue Hanabi from the evil clutches of Toneri Ootsutsuki. While they get closer and closer to completing their mission, they are faced with several adversaries, who will not only test the relationship they have with one another, but also puts the fate of the planet in face of uncertainty. As the clock ticks, the team rushes to end the last battle, fighting for peace...and love.',
			'coverImageTopOffset': 100,
			'titles': {
				'en': 'The Last: Naruto the Movie',
				'en_jp': 'The Last: Naruto the Movie',
				'en_us': 'The Last: Naruto the Movie',
				'ja_jp': 'THE LAST NARUTO THE MOVIE'
			},
			'canonicalTitle': 'The Last: Naruto the Movie',
			'abbreviatedTitles': ['Naruto Movie 10: Naruto the Movie: The Last,Naruto: Shippuuden Movie 7 - The Last', 'Naruto Movie 10: Naruto the Movie: The Last', 'Naruto: Shippuuden Movie 7 - The Last'],
			'averageRating': '80.12',
			'ratingFrequencies': {
				'2': '132',
				'3': '3',
				'4': '111',
				'5': '7',
				'6': '130',
				'7': '12',
				'8': '491',
				'9': '22',
				'10': '551',
				'11': '39',
				'12': '1122',
				'13': '96',
				'14': '3426',
				'15': '182',
				'16': '2697',
				'17': '231',
				'18': '1704',
				'19': '118',
				'20': '5135'
			},
			'userCount': 24925,
			'favoritesCount': 184,
			'startDate': '2014-12-06',
			'endDate': '2014-12-06',
			'nextRelease': None,
			'popularityRank': 427,
			'ratingRank': 577,
			'ageRating': 'PG',
			'ageRatingGuide': 'Teens 13 or older',
			'subtype': 'movie',
			'status': 'finished',
			'tba': None,
			'posterImage': {
				'tiny': 'https://media.kitsu.io/anime/poster_images/7543/tiny.jpg?1597697683',
				'small': 'https://media.kitsu.io/anime/poster_images/7543/small.jpg?1597697683',
				'medium': 'https://media.kitsu.io/anime/poster_images/7543/medium.jpg?1597697683',
				'large': 'https://media.kitsu.io/anime/poster_images/7543/large.jpg?1597697683',
				'original': 'https://media.kitsu.io/anime/poster_images/7543/original.jpg?1597697683',
				'meta': {
					'dimensions': {
						'tiny': {
							'width': 110,
							'height': 156
						},
						'small': {
							'width': 284,
							'height': 402
						},
						'medium': {
							'width': 390,
							'height': 554
						},
						'large': {
							'width': 550,
							'height': 780
						}
					}
				}
			},
			'coverImage': {
				'tiny': 'https://media.kitsu.io/anime/cover_images/7543/tiny.jpg?1623049676',
				'small': 'https://media.kitsu.io/anime/cover_images/7543/small.jpg?1623049676',
				'large': 'https://media.kitsu.io/anime/cover_images/7543/large.jpg?1623049676',
				'original': 'https://media.kitsu.io/anime/cover_images/7543/original.jpg?1623049676',
				'meta': {
					'dimensions': {
						'tiny': {
							'width': 840,
							'height': 200
						},
						'small': {
							'width': 1680,
							'height': 400
						},
						'large': {
							'width': 3360,
							'height': 800
						}
					}
				}
			},
			'episodeCount': 1,
			'episodeLength': 112,
			'totalLength': 112,
			'youtubeVideoId': 'tA3yE4_t6SY',
			'showType': 'movie',
			'nsfw': False
		},
		'relationships': {
			'genres': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/7543/relationships/genres',
					'related': 'https://kitsu.io/api/edge/anime/7543/genres'
				}
			},
			'categories': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/7543/relationships/categories',
					'related': 'https://kitsu.io/api/edge/anime/7543/categories'
				}
			},
			'castings': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/7543/relationships/castings',
					'related': 'https://kitsu.io/api/edge/anime/7543/castings'
				}
			},
			'installments': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/7543/relationships/installments',
					'related': 'https://kitsu.io/api/edge/anime/7543/installments'
				}
			},
			'mappings': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/7543/relationships/mappings',
					'related': 'https://kitsu.io/api/edge/anime/7543/mappings'
				}
			},
			'reviews': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/7543/relationships/reviews',
					'related': 'https://kitsu.io/api/edge/anime/7543/reviews'
				}
			},
			'mediaRelationships': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/7543/relationships/media-relationships',
					'related': 'https://kitsu.io/api/edge/anime/7543/media-relationships'
				}
			},
			'characters': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/7543/relationships/characters',
					'related': 'https://kitsu.io/api/edge/anime/7543/characters'
				}
			},
			'staff': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/7543/relationships/staff',
					'related': 'https://kitsu.io/api/edge/anime/7543/staff'
				}
			},
			'productions': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/7543/relationships/productions',
					'related': 'https://kitsu.io/api/edge/anime/7543/productions'
				}
			},
			'quotes': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/7543/relationships/quotes',
					'related': 'https://kitsu.io/api/edge/anime/7543/quotes'
				}
			},
			'episodes': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/7543/relationships/episodes',
					'related': 'https://kitsu.io/api/edge/anime/7543/episodes'
				}
			},
			'streamingLinks': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/7543/relationships/streaming-links',
					'related': 'https://kitsu.io/api/edge/anime/7543/streaming-links'
				}
			},
			'animeProductions': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/7543/relationships/anime-productions',
					'related': 'https://kitsu.io/api/edge/anime/7543/anime-productions'
				}
			},
			'animeCharacters': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/7543/relationships/anime-characters',
					'related': 'https://kitsu.io/api/edge/anime/7543/anime-characters'
				}
			},
			'animeStaff': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/7543/relationships/anime-staff',
					'related': 'https://kitsu.io/api/edge/anime/7543/anime-staff'
				}
			}
		}
	}, {
		'id': '2245',
		'type': 'anime',
		'links': {
			'self': 'https://kitsu.io/api/edge/anime/2245'
		},
		'attributes': {
			'createdAt': '2013-02-20T16:35:15.856Z',
			'updatedAt': '2021-07-01T13:52:30.684Z',
			'slug': 'naruto-shippuden-movie-1',
			'synopsis': 'Demons that once almost destroyed the world, are revived by someone. To prevent the world from being destroyed, the demon has to be sealed and the only one who can do it is the shrine maiden Shion from the country of demons, who has two powers; one is sealing demons and the other is predicting the deaths of humans. This time Naruto\'s mission is to guard Shion, but she predicts Naruto\'s death. The only way to escape it, is to get away from Shion, which would leave her unguarded, then the demon, whose only goal is to kill Shion will do so, thus meaning the end of the world. Naruto decides to challenge this "prediction of death," but fails to prove Shion\'s prediction wrong and supposedly dies in vain.\n(Source: Wikipedia)',
			'description': 'Demons that once almost destroyed the world, are revived by someone. To prevent the world from being destroyed, the demon has to be sealed and the only one who can do it is the shrine maiden Shion from the country of demons, who has two powers; one is sealing demons and the other is predicting the deaths of humans. This time Naruto\'s mission is to guard Shion, but she predicts Naruto\'s death. The only way to escape it, is to get away from Shion, which would leave her unguarded, then the demon, whose only goal is to kill Shion will do so, thus meaning the end of the world. Naruto decides to challenge this "prediction of death," but fails to prove Shion\'s prediction wrong and supposedly dies in vain.\n(Source: Wikipedia)',
			'coverImageTopOffset': 100,
			'titles': {
				'en': 'Naruto: Shippuden the Movie',
				'en_jp': 'Naruto: Shippuuden Movie 1',
				'en_us': 'Naruto: Shippuden the Movie',
				'ja_jp': '劇場版NARUTO -ナルト- 疾風伝'
			},
			'canonicalTitle': 'Naruto: Shippuuden Movie 1',
			'abbreviatedTitles': ['Naruto Shippuuden Movie', 'Naruto Movie 4', 'Gekijouban Naruto Shippuuden'],
			'averageRating': '72.86',
			'ratingFrequencies': {
				'2': '66',
				'3': '1',
				'4': '85',
				'5': '2',
				'6': '135',
				'7': '4',
				'8': '436',
				'9': '6',
				'10': '665',
				'11': '21',
				'12': '1394',
				'13': '42',
				'14': '2644',
				'15': '59',
				'16': '1667',
				'17': '38',
				'18': '591',
				'19': '14',
				'20': '1617'
			},
			'userCount': 16397,
			'favoritesCount': 54,
			'startDate': '2007-08-04',
			'endDate': '2007-08-04',
			'nextRelease': None,
			'popularityRank': 705,
			'ratingRank': 2710,
			'ageRating': 'PG',
			'ageRatingGuide': 'Teens 13 or older',
			'subtype': 'movie',
			'status': 'finished',
			'tba': None,
			'posterImage': {
				'tiny': 'https://media.kitsu.io/anime/poster_images/2245/tiny.jpg?1597697957',
				'small': 'https://media.kitsu.io/anime/poster_images/2245/small.jpg?1597697957',
				'medium': 'https://media.kitsu.io/anime/poster_images/2245/medium.jpg?1597697957',
				'large': 'https://media.kitsu.io/anime/poster_images/2245/large.jpg?1597697957',
				'original': 'https://media.kitsu.io/anime/poster_images/2245/original.jpg?1597697957',
				'meta': {
					'dimensions': {
						'tiny': {
							'width': 110,
							'height': 156
						},
						'small': {
							'width': 284,
							'height': 402
						},
						'medium': {
							'width': 390,
							'height': 554
						},
						'large': {
							'width': 550,
							'height': 780
						}
					}
				}
			},
			'coverImage': {
				'tiny': 'https://media.kitsu.io/anime/cover_images/2245/tiny.jpg?1597703370',
				'small': 'https://media.kitsu.io/anime/cover_images/2245/small.jpg?1597703370',
				'large': 'https://media.kitsu.io/anime/cover_images/2245/large.jpg?1597703370',
				'original': 'https://media.kitsu.io/anime/cover_images/2245/original.jpg?1597703370',
				'meta': {
					'dimensions': {
						'tiny': {
							'width': 840,
							'height': 200
						},
						'small': {
							'width': 1680,
							'height': 400
						},
						'large': {
							'width': 3360,
							'height': 800
						}
					}
				}
			},
			'episodeCount': 1,
			'episodeLength': 94,
			'totalLength': 94,
			'youtubeVideoId': None,
			'showType': 'movie',
			'nsfw': False
		},
		'relationships': {
			'genres': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/2245/relationships/genres',
					'related': 'https://kitsu.io/api/edge/anime/2245/genres'
				}
			},
			'categories': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/2245/relationships/categories',
					'related': 'https://kitsu.io/api/edge/anime/2245/categories'
				}
			},
			'castings': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/2245/relationships/castings',
					'related': 'https://kitsu.io/api/edge/anime/2245/castings'
				}
			},
			'installments': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/2245/relationships/installments',
					'related': 'https://kitsu.io/api/edge/anime/2245/installments'
				}
			},
			'mappings': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/2245/relationships/mappings',
					'related': 'https://kitsu.io/api/edge/anime/2245/mappings'
				}
			},
			'reviews': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/2245/relationships/reviews',
					'related': 'https://kitsu.io/api/edge/anime/2245/reviews'
				}
			},
			'mediaRelationships': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/2245/relationships/media-relationships',
					'related': 'https://kitsu.io/api/edge/anime/2245/media-relationships'
				}
			},
			'characters': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/2245/relationships/characters',
					'related': 'https://kitsu.io/api/edge/anime/2245/characters'
				}
			},
			'staff': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/2245/relationships/staff',
					'related': 'https://kitsu.io/api/edge/anime/2245/staff'
				}
			},
			'productions': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/2245/relationships/productions',
					'related': 'https://kitsu.io/api/edge/anime/2245/productions'
				}
			},
			'quotes': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/2245/relationships/quotes',
					'related': 'https://kitsu.io/api/edge/anime/2245/quotes'
				}
			},
			'episodes': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/2245/relationships/episodes',
					'related': 'https://kitsu.io/api/edge/anime/2245/episodes'
				}
			},
			'streamingLinks': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/2245/relationships/streaming-links',
					'related': 'https://kitsu.io/api/edge/anime/2245/streaming-links'
				}
			},
			'animeProductions': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/2245/relationships/anime-productions',
					'related': 'https://kitsu.io/api/edge/anime/2245/anime-productions'
				}
			},
			'animeCharacters': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/2245/relationships/anime-characters',
					'related': 'https://kitsu.io/api/edge/anime/2245/anime-characters'
				}
			},
			'animeStaff': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/2245/relationships/anime-staff',
					'related': 'https://kitsu.io/api/edge/anime/2245/anime-staff'
				}
			}
		}
	}, {
		'id': '1555',
		'type': 'anime',
		'links': {
			'self': 'https://kitsu.io/api/edge/anime/1555'
		},
		'attributes': {
			'createdAt': '2013-02-20T16:24:49.365Z',
			'updatedAt': '2021-07-01T15:15:43.946Z',
			'slug': 'naruto-shippuden',
			'synopsis': 'It has been two and a half years since Naruto Uzumaki left Konohagakure, the Hidden Leaf Village, for intense training following events which fueled his desire to be stronger. Now Akatsuki, the mysterious organization of elite rogue ninja, is closing in on their grand plan which may threaten the safety of the entire shinobi world.\n\nAlthough Naruto is older and sinister events loom on the horizon, he has changed little in personality—still rambunctious and childish—though he is now far more confident and possesses an even greater determination to protect his friends and home. Come whatever may, Naruto will carry on with the fight for what is important to him, even at the expense of his own body, in the continuation of the saga about the boy who wishes to become Hokage.\n\n(Source: MAL Rewrite)',
			'description': 'It has been two and a half years since Naruto Uzumaki left Konohagakure, the Hidden Leaf Village, for intense training following events which fueled his desire to be stronger. Now Akatsuki, the mysterious organization of elite rogue ninja, is closing in on their grand plan which may threaten the safety of the entire shinobi world.\n\nAlthough Naruto is older and sinister events loom on the horizon, he has changed little in personality—still rambunctious and childish—though he is now far more confident and possesses an even greater determination to protect his friends and home. Come whatever may, Naruto will carry on with the fight for what is important to him, even at the expense of his own body, in the continuation of the saga about the boy who wishes to become Hokage.\n\n(Source: MAL Rewrite)',
			'coverImageTopOffset': 100,
			'titles': {
				'en': 'Naruto: Shippuden',
				'en_jp': 'Naruto: Shippuuden',
				'en_us': 'Naruto: Shippuden',
				'ja_jp': 'ナルト- 疾風伝'
			},
			'canonicalTitle': 'Naruto: Shippuuden',
			'abbreviatedTitles': ['Naruto Hurricane Chronicles'],
			'averageRating': '83.23',
			'ratingFrequencies': {
				'2': '1018',
				'3': '19',
				'4': '421',
				'5': '14',
				'6': '519',
				'7': '36',
				'8': '2255',
				'9': '49',
				'10': '1856',
				'11': '82',
				'12': '4116',
				'13': '269',
				'14': '10557',
				'15': '574',
				'16': '8225',
				'17': '799',
				'18': '6549',
				'19': '603',
				'20': '31391'
			},
			'userCount': 96476,
			'favoritesCount': 3938,
			'startDate': '2007-02-15',
			'endDate': '2017-03-23',
			'nextRelease': None,
			'popularityRank': 53,
			'ratingRank': 23,
			'ageRating': 'PG',
			'ageRatingGuide': 'Teens 13 or older',
			'subtype': 'TV',
			'status': 'finished',
			'tba': '',
			'posterImage': {
				'tiny': 'https://media.kitsu.io/anime/poster_images/1555/tiny.jpg?1597696875',
				'small': 'https://media.kitsu.io/anime/poster_images/1555/small.jpg?1597696875',
				'medium': 'https://media.kitsu.io/anime/poster_images/1555/medium.jpg?1597696875',
				'large': 'https://media.kitsu.io/anime/poster_images/1555/large.jpg?1597696875',
				'original': 'https://media.kitsu.io/anime/poster_images/1555/original.jpg?1597696875',
				'meta': {
					'dimensions': {
						'tiny': {
							'width': 110,
							'height': 156
						},
						'small': {
							'width': 284,
							'height': 402
						},
						'medium': {
							'width': 390,
							'height': 554
						},
						'large': {
							'width': 550,
							'height': 780
						}
					}
				}
			},
			'coverImage': {
				'tiny': 'https://media.kitsu.io/anime/cover_images/1555/tiny.jpg?1597702491',
				'small': 'https://media.kitsu.io/anime/cover_images/1555/small.jpg?1597702491',
				'large': 'https://media.kitsu.io/anime/cover_images/1555/large.jpg?1597702491',
				'original': 'https://media.kitsu.io/anime/cover_images/1555/original.jpg?1597702491',
				'meta': {
					'dimensions': {
						'tiny': {
							'width': 840,
							'height': 200
						},
						'small': {
							'width': 1680,
							'height': 400
						},
						'large': {
							'width': 3360,
							'height': 800
						}
					}
				}
			},
			'episodeCount': 500,
			'episodeLength': 23,
			'totalLength': 11500,
			'youtubeVideoId': '1dy2zPPrKD0',
			'showType': 'TV',
			'nsfw': False
		},
		'relationships': {
			'genres': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/1555/relationships/genres',
					'related': 'https://kitsu.io/api/edge/anime/1555/genres'
				}
			},
			'categories': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/1555/relationships/categories',
					'related': 'https://kitsu.io/api/edge/anime/1555/categories'
				}
			},
			'castings': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/1555/relationships/castings',
					'related': 'https://kitsu.io/api/edge/anime/1555/castings'
				}
			},
			'installments': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/1555/relationships/installments',
					'related': 'https://kitsu.io/api/edge/anime/1555/installments'
				}
			},
			'mappings': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/1555/relationships/mappings',
					'related': 'https://kitsu.io/api/edge/anime/1555/mappings'
				}
			},
			'reviews': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/1555/relationships/reviews',
					'related': 'https://kitsu.io/api/edge/anime/1555/reviews'
				}
			},
			'mediaRelationships': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/1555/relationships/media-relationships',
					'related': 'https://kitsu.io/api/edge/anime/1555/media-relationships'
				}
			},
			'characters': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/1555/relationships/characters',
					'related': 'https://kitsu.io/api/edge/anime/1555/characters'
				}
			},
			'staff': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/1555/relationships/staff',
					'related': 'https://kitsu.io/api/edge/anime/1555/staff'
				}
			},
			'productions': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/1555/relationships/productions',
					'related': 'https://kitsu.io/api/edge/anime/1555/productions'
				}
			},
			'quotes': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/1555/relationships/quotes',
					'related': 'https://kitsu.io/api/edge/anime/1555/quotes'
				}
			},
			'episodes': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/1555/relationships/episodes',
					'related': 'https://kitsu.io/api/edge/anime/1555/episodes'
				}
			},
			'streamingLinks': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/1555/relationships/streaming-links',
					'related': 'https://kitsu.io/api/edge/anime/1555/streaming-links'
				}
			},
			'animeProductions': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/1555/relationships/anime-productions',
					'related': 'https://kitsu.io/api/edge/anime/1555/anime-productions'
				}
			},
			'animeCharacters': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/1555/relationships/anime-characters',
					'related': 'https://kitsu.io/api/edge/anime/1555/anime-characters'
				}
			},
			'animeStaff': {
				'links': {
					'self': 'https://kitsu.io/api/edge/anime/1555/relationships/anime-staff',
					'related': 'https://kitsu.io/api/edge