Skip to content

Commit

Permalink
Updated version and added AnimechanAPI to list
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekidev committed Sep 22, 2022
1 parent d3ccbc9 commit bee0ea5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions anime_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
"""
from anime_api.apis.anime_facts_rest_api import AnimeFactsRestAPI
from anime_api.apis.trace_moe import TraceMoeAPI
from anime_api.apis.animechan import AnimechanAPI


# List of tuples (api_name, api_class, api_docs_url, is_available)
apis = [
api_list = [
(
"Anime Facts Rest API",
AnimeFactsRestAPI,
Expand All @@ -19,7 +20,7 @@
"https://soruly.github.io/trace.moe-api/",
True,
),
("Animechan", None, "https://animechan.vercel.app/guide", False),
("Animechan", AnimechanAPI, "https://animechan.vercel.app/guide", True),
("Jikan", None, "https://jikan.docs.apiary.io/#", False),
("Waifu Pics", None, "https://waifu.pics/docs", False),
("Studio Ghibli API", None, "https://ghibliapi.herokuapp.com/", False),
Expand All @@ -45,7 +46,12 @@
("Shikimori", None, "https://shikimori.one/api/doc", False),
("Mangadex", None, "https://api.mangadex.org/docs.html", False),
("Danbooru", None, "https://danbooru.donmai.us/wiki_pages/help:api", False),
("Yandere", None, "https://yande.re/help/api", False), # Yandere and Konachan are forks of the same github repo. That's why they have almost-identical apis.
(
"Yandere",
None,
"https://yande.re/help/api",
False,
), # Yandere and Konachan are forks of the same github repo. That's why they have almost-identical apis.
("Konachan", None, "https://konachan.com/help/api", False),
("Waifu.im", None, "https://waifu.im/", False),
("Catboys", None, "https://catboys.com/api", False),
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "anime-api"
version = "0.2.0"
version = "0.3.0"
description = "A collection of wrappers for anime-related APIs"
authors = ["Neki <84998222+Nekidev@users.noreply.github.com>"]
readme = "README.md"
Expand Down

0 comments on commit bee0ea5

Please sign in to comment.