https://github.com/izihawa/aiolibgen
https://github.com/izihawa/aiolibgen
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/izihawa/aiolibgen
- Owner: izihawa
- License: mit
- Created: 2020-10-21T21:21:31.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-05-06T14:41:10.000Z (over 3 years ago)
- Last Synced: 2025-02-18T19:50:02.878Z (8 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aiocrossref
Asynchronous client for Libgen API
## Example
```python
import asynciofrom aiolibgen import LibgenClient
async def books(base_url, ids):
client = LibgenClient(base_url)
return await client.by_ids(ids)response = asyncio.get_event_loop().run_until_complete(books('http://gen.lib.rus.ec', [100500]))
```