-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from solvedac/dev
for v1.0.1
- Loading branch information
Showing
2 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,57 @@ | ||
<div align="center"> | ||
|
||
<br> | ||
|
||
# SolvedAC API Wrapper | ||
|
||
_An Unofficual API Wrapper for [SolvedAC API](https://solvedac.github.io/unofficial-documentation/)_ | ||
|
||
![Version](https://img.shields.io/pypi/v/solvedac-community) | ||
|
||
<br> | ||
|
||
--- | ||
|
||
**Source Code** : [https://github.com/solvedac/python](https://github.com/solvedac/python) | ||
|
||
**Pypi** : [https://pypi.org/project/solvedac-community](https://pypi.org/project/solvedac-community/) | ||
|
||
--- | ||
|
||
|
||
</div> | ||
|
||
# Quick Example | ||
```python | ||
import solvedac_community | ||
import asyncio | ||
|
||
client = solvedac_community.Client() | ||
|
||
|
||
async def main(): | ||
user_name = input() | ||
print(await client.get_user(user_name)) | ||
|
||
|
||
print(asyncio.run(main())) | ||
``` | ||
|
||
# Installing | ||
## Prerequisites | ||
solvedac-community is compatible with Python 3.9 and higher versions. | ||
|
||
Python 2 or versions prior to Python 3.9 might not work as expected. | ||
|
||
solvedac-community requires at least one of the following libraries: [aiohttp](https://pypi.org/project/aiohttp/) or [httpx](https://pypi.org/project/httpx/). | ||
|
||
## Installing | ||
```bash | ||
pip install solvedac-community | ||
``` | ||
```bash | ||
python -m pip install solvedac-community | ||
``` | ||
```bash | ||
py -m pip install solvedac-community | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "solvedac_community" | ||
version = "1.0.0" | ||
version = "1.0.1" | ||
description = "An API Wrapper for SolvedAC API" | ||
authors = ["DevRuby <[email protected]>"] | ||
license = "MIT" | ||
|