Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement manga and some anime endpoints. #9

Merged
merged 27 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
bf5592f
feat: manga, fullmanga, manga stats
r3tr0ananas Nov 23, 2024
a2f2e06
Merge pull request #7 from THEGOLDENPRO/main
THEGOLDENPRO Nov 24, 2024
f928efc
Merge pull request #8 from THEGOLDENPRO/main
r3tr0ananas Nov 24, 2024
f2fbd87
feat, docs: forums (topics), news, add manga example
r3tr0ananas Nov 24, 2024
8576903
feat: recommendations, pictures, reviews, moreinfo
r3tr0ananas Nov 24, 2024
3ce4f94
feat: forgor moreinfo for anime
r3tr0ananas Nov 24, 2024
92c5641
refactor: images should be image
r3tr0ananas Nov 24, 2024
4d69d7d
Merge pull request #10 from THEGOLDENPRO/main
THEGOLDENPRO Nov 24, 2024
f44dfc9
fix, style: invalid rst and manga resource type hinting not working f…
THEGOLDENPRO Nov 24, 2024
4f5f89f
Merge pull request #11 from THEGOLDENPRO/main
THEGOLDENPRO Nov 24, 2024
5be587f
feat: random manga and anime
r3tr0ananas Nov 25, 2024
5fef8d0
feat: add characters
r3tr0ananas Nov 25, 2024
7292eb4
feat: relations, external, user_updates
r3tr0ananas Nov 25, 2024
42b33b3
feat: genres
r3tr0ananas Nov 25, 2024
31f1e2f
fix: async using random endpoint for genres
r3tr0ananas Nov 25, 2024
399a2f6
refactor!: merge client.genres functionality into client.get
THEGOLDENPRO Nov 25, 2024
6c33db2
feat: add 'On Hiatus'
r3tr0ananas Nov 25, 2024
d680cd1
feat: add `JikanIterableResource` object
THEGOLDENPRO Nov 25, 2024
c879365
Merge branch 'feat/manga' of goldy.github.com:THEGOLDENPRO/anmoku int…
THEGOLDENPRO Nov 25, 2024
0699950
docs: add required params for resources
THEGOLDENPRO Nov 25, 2024
ceefd15
refactor!, docs: improve attributes and type hinting and add some docs
THEGOLDENPRO Nov 25, 2024
1ec3414
refactor: switch to JikanIterableResource
r3tr0ananas Nov 25, 2024
fb598df
chore: only run test workflows on push
THEGOLDENPRO Nov 25, 2024
50f14aa
Merge pull request #14 from THEGOLDENPRO/main
THEGOLDENPRO Nov 25, 2024
334fee8
style, chore: overload functions in async client should also be async…
THEGOLDENPRO Nov 25, 2024
b9ec517
refactor: rename `SnowflakeT`
THEGOLDENPRO Nov 25, 2024
6ece462
docs: add jikan docs link to Anime resource
THEGOLDENPRO Nov 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions anmoku/resources/manga/manga.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class PublishingStatus(Enum):
FINISHED = "Finished"
PUBLISHING = "Publishing"
DISCONTINUED = "Discontinued"
ON_HIATUS = "On Hiatus"

def __init__(self, value: MangaStatus) -> None:
...
Expand Down
2 changes: 1 addition & 1 deletion anmoku/typing/jikan/manga/manga.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"MoreInfoMangaData"
)

MangaStatus = Literal["Publishing", "Finished", "Discontinued"]
MangaStatus = Literal["Publishing", "Finished", "Discontinued", "On Hiatus"]

class PartialMangaData(TypedDict):
mal_id: int
Expand Down
Loading