Skip to content

Commit

Permalink
update: Studio Ghibli API base endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Nyeki.py <[email protected]>
  • Loading branch information
Nekidev authored Dec 29, 2023
1 parent 60f2a8a commit ce568a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion anime_api/apis/studio_ghibli_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ class StudioGhibliAPI:
Base class for the Studio Ghibli API
"""

endpoint = "https://ghibliapi.herokuapp.com"
endpoint = "https://ghibliapi.dev"

def __init__(self, endpoint: typing.Optional[str] = None) -> None:
self.endpoint = endpoint or self.endpoint

def get_animes(self, limit: int = 50) -> typing.List[Anime]:
"""
Expand Down

0 comments on commit ce568a8

Please sign in to comment.