Async client for the Mastodon API
Project description
Asynctodon
Asyncio client for the Mastodon API
Example
Check usage for a more complex example
import asyncio
import webbrowser
from asynctodon import Client
client = Client("example.com", "f4jl3f2309fj20fj02efj02efj")
async def main():
status = await client.new_status("im gay")
webbrowser.open(status.url)
asyncio.run(main())
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
asynctodon-0.1.3.post1.tar.gz
(33.2 kB
view hashes)
Built Distribution
Close
Hashes for asynctodon-0.1.3.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d72d68e4394d0b1635bb84d06a86e9aad18c11c0a618d70f78acfafc06167c1 |
|
MD5 | 61ee98006bc9faa9238d58e7cce0338a |
|
BLAKE2b-256 | 62723c1c03d13cba24d7ed20d9d2ba0f8067fd96502e1c2d5e2bf577b04fa3b8 |