An asynchronous, unofficial Whatnot API wrapper
Project description
Whatnot API
Work-in-progress unofficial asynchronous API wrapper for Whatnot API.
Download
poetry add whatnot
or pip install whatnot
Roadmap
See ROADMAP.md
Example
import asyncio
from whatnot import Whatnot
async def main():
async with Whatnot() as whatnot:
whatnot.login("bob@example.com", "secret_password")
# Get the whatnot account
whatnot_user = await whatnot.get_user("whatnot")
print(whatnot_user.username)
# OR await whatnot.get_user_by_id("21123")
# Get user's lives
lives = await whatnot.get_user_lives(whatnot_user.id)
# Print out all of the lives
for live in lives:
print(live.title)
asyncio.run(main())
Disclaimer
This project is unofficial and is not affiliated with or endorsed by Whatnot.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
whatnot-0.2.0b1.tar.gz
(8.3 kB
view hashes)
Built Distribution
Close
Hashes for whatnot-0.2.0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77569eaf52336aed5bbd13c9f9b7fe81f139d224229b94ce91891aaadae1963f |
|
MD5 | 9211fb61cca15119f27d41adc6b5ca6f |
|
BLAKE2b-256 | 4b8192f2c1cba24bf32c734ff158fd89220580dbb72d2eb2869b8891d3b7e97c |