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 details)
Built Distribution
File details
Details for the file asynctodon-0.1.4.tar.gz
.
File metadata
- Download URL: asynctodon-0.1.4.tar.gz
- Upload date:
- Size: 34.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f817ba106bc0b8584a6d0cad13ce9b3436fe3d07141380984fb5b3e6870cd339 |
|
MD5 | e7f5a171f34019919c46420a63cb51da |
|
BLAKE2b-256 | 078332eaa4c7d8a2ae37628e908153f63c52ab56a479d65662393bbf3c558e43 |
File details
Details for the file asynctodon-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: asynctodon-0.1.4-py3-none-any.whl
- Upload date:
- Size: 40.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 309cd95b829531ef2545543dd5c9fa8ede5c866f3ac84b31dc8ade655bae357f |
|
MD5 | 31b50c60aa136a82968bd8bbfd491be1 |
|
BLAKE2b-256 | 5608d728f41eef66a470f5812b71ca0a7ab29e7813e5cb5a44846ac5ba00b897 |