Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravencentric committed Mar 23, 2024
1 parent cac2bef commit 4c947dc
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 14 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<img src="https://raw.githubusercontent.com/Ravencentric/pyanilist/main/docs/assets/logo.png" alt="Logo" width="400">
</a>
<p align="center">
Simple Anilist API wrapper to fetch data about Anime or Manga
Simple Anilist API wrapper to fetch data about it's media
<br/>
<br/>
</p>
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/exceptions.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
9 changes: 4 additions & 5 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<img src="https://raw.githubusercontent.com/Ravencentric/pyanilist/main/docs/assets/logo.png" alt="Logo" width="400">
</a>
<p align="center">
Simple Anilist API wrapper to fetch data about Anime or Manga
Simple Anilist API wrapper to fetch data about it's media
<br/>
<br/>
</p>
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
license = "Unlicense"
readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions src/pyanilist/_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 4c947dc

Please sign in to comment.