Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/seriaati/enka-py
Browse files Browse the repository at this point in the history
  • Loading branch information
seriaati committed Feb 1, 2024
2 parents c271944 + 7ddbdb9 commit 40163a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ async def main() -> None:
asyncio.run(main())
```

Full example can be found in [example.py](https://github.com/seriaati/enka-py/blob/main/example.py)

# Usage
## Starting and closing the client properly
To use the client properly, you can either:
Expand Down Expand Up @@ -116,6 +118,10 @@ If you're using an IDE like VSCode, then you can see all the attributes and meth
> [!TIP]
> If you're using VSCode, `alt + left click` on the attribute, then the IDE will bring you to the source code of this wrapper, most classes and methods have docstrings.
## Catching exceptions
All exception classes can be found in [enka/exceptions.py](https://github.com/seriaati/enka-py/blob/main/enka/exceptions.py), catch them with `try-except`.
Example can be found in [example.py](https://github.com/seriaati/enka-py/blob/main/example.py)

# Questions, issues, contributions
For questions, you can contact me on [Discord](https://discord.com/users/410036441129943050) or open an [issue](https://github.com/seriaati/enka-py/issues).
To report issues with this wrapper, open an [issue](https://github.com/seriaati/enka-py/issues).
Expand Down

0 comments on commit 40163a8

Please sign in to comment.