Pixiv ajax wrapper
Project description
pypixiv
Pixiv ajax python wrapper
Feature
-
Asynchronous.
-
Fully type annotated.
-
The response is returned as an object.
Simple Example
import asyncio
from pypixiv.client import PixivClient
async def main():
async with PixivClient() as client:
illust = await client.illustinfo(79136250)
user_id = int(illust.userId)
print(user_id)
user = await client.userinfo(user_id)
print(user.name)
asyncio.run(main())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pypixiv-0.2.5.tar.gz
(8.0 kB
view hashes)
Built Distribution
pypixiv-0.2.5-py3-none-any.whl
(12.1 kB
view hashes)