Skip to content

Commit

Permalink
fix: project link
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravencentric committed Mar 16, 2024
1 parent 51e90e0 commit 62eae7c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 34 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<br/>
<p align="center">
<a href="https://github.com/Ravencentric/pyanilist">
<img src="./docs/assets/logo.svg" alt="Logo" width="400" height="100">
<img src="https://github.com/Ravencentric/pyanilist/blob/main/docs/assets/logo.png" alt="Logo" width="400">
</a>
<p align="center">
Simple read-only Anilist API wrapper
Expand Down Expand Up @@ -37,7 +37,7 @@ pip install pyanilist

PyAnilist offers two main classes:

1. Anilist - Synchronous class
1. `Anilist()` - Synchronous class
- `search()` - Search a media

```py
Expand Down Expand Up @@ -67,13 +67,13 @@ PyAnilist offers two main classes:
13
```

2. AsyncAnilist - Asynchronous class
2. `AsyncAnilist()` - Asynchronous class
- `search()` - Search a media

```py
>>> import asyncio
>>> from pyanilist import AsyncAnilist, MediaType
>>> media = asyncio.run(AsyncAnilist().search("Attack on Titan"))
>>> media = asyncio.run(AsyncAnilist().search("Attack on Titan", type=MediaType.ANIME))
>>> media.title
MediaTitle(romaji='Shingeki no Kyojin', english='Attack on Titan', native='進撃の巨人')
>>> media.title.romaji
Expand Down
Binary file added docs/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 10 additions & 28 deletions docs/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ license = "Unlicense"
readme = "README.md"
packages = [{include = "pyanilist", from = "src"}]
homepage = "https://ravencentric.github.io/pyanilist"
repository = "https://github.com/Ravencentric/juicenet-cli"
repository = "https://github.com/Ravencentric/pyanilist"
documentation = "https://ravencentric.github.io/pyanilist"
classifiers = [
"License :: OSI Approved :: The Unlicense (Unlicense)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down

0 comments on commit 62eae7c

Please sign in to comment.