diff --git a/README.md b/README.md index 26ee941..3913f88 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Logo

- Simple Anilist API wrapper to fetch data about Anime or Manga + Simple Anilist API wrapper to fetch data about it's media

@@ -33,10 +33,9 @@ ## About -- Supports both sync and async. -- Read-only API wrapper. -- Only supports querying the `Anime` or `Manga` type. - - *Technically, Anilist has more than just Anime or Manga but they simply lump all animation into their `Anime` type and all comics/text-based media into their `Manga` type. This means that something like a `Light Novel` also falls in the `Manga` type* +- Supports both sync and async. +- Provides easy access to almost every field present in Anilist's `Media` type. +- Only supports querying the `Media` type ## Installation diff --git a/docs/api-reference/exceptions.md b/docs/api-reference/exceptions.md index 65b9a6c..851ad95 100644 --- a/docs/api-reference/exceptions.md +++ b/docs/api-reference/exceptions.md @@ -1,5 +1,5 @@ !!! note - This module simply re-exports exceptions from + PyAnilist simply re-exports exceptions from [`httpx`](https://www.python-httpx.org/exceptions/) and [`pydantic`](https://docs.pydantic.dev/latest/api/pydantic_core/#pydantic_core.ValidationError) for convenience. diff --git a/docs/index.md b/docs/index.md index 4ce3e99..d70e9ad 100644 --- a/docs/index.md +++ b/docs/index.md @@ -4,7 +4,7 @@ Logo

- Simple Anilist API wrapper to fetch data about Anime or Manga + Simple Anilist API wrapper to fetch data about it's media

@@ -23,10 +23,9 @@ ## About -- Supports both sync and async. -- Read-only API wrapper. -- Only supports querying the `Anime` or `Manga` type. - - *Technically, Anilist has more than just Anime or Manga but they simply lump all animation into their `Anime` type and all comics/text-based media into their `Manga` type. This means that something like a `Light Novel` also falls in the `Manga` type* +- Supports both sync and async. +- Provides easy access to almost every field present in Anilist's `Media` type. +- Only supports querying the `Media` type ## Installation diff --git a/pyproject.toml b/pyproject.toml index d865b96..4a39195 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "pyanilist" version = "0.3.0" -description = "Simple Anilist API wrapper to fetch data about Anime or Manga" +description = "Simple Anilist API wrapper to fetch data about it's media" authors = ["Raventric "] license = "Unlicense" readme = "README.md" diff --git a/src/pyanilist/_models.py b/src/pyanilist/_models.py index 8049e35..9417d82 100644 --- a/src/pyanilist/_models.py +++ b/src/pyanilist/_models.py @@ -484,7 +484,7 @@ class Relation(ParentModel): trailer: MediaTrailer = MediaTrailer() """Media trailer or advertisement""" - updated_at: datetime + updated_at: datetime = datetime.min """When the media's data was last updated""" cover_image: MediaCoverImage = MediaCoverImage() @@ -608,7 +608,7 @@ class Media(ParentModel): trailer: MediaTrailer = MediaTrailer() """Media trailer or advertisement""" - updated_at: datetime + updated_at: datetime = datetime.min """When the media's data was last updated""" cover_image: MediaCoverImage = MediaCoverImage()