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.4.tar.gz
(34.0 kB
view hashes)
Built Distribution
asynctodon-0.1.4-py3-none-any.whl
(40.0 kB
view hashes)
Close
Hashes for asynctodon-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 309cd95b829531ef2545543dd5c9fa8ede5c866f3ac84b31dc8ade655bae357f |
|
MD5 | 31b50c60aa136a82968bd8bbfd491be1 |
|
BLAKE2b-256 | 5608d728f41eef66a470f5812b71ca0a7ab29e7813e5cb5a44846ac5ba00b897 |