# Asynctodon
Asyncio client for the Mastodon API
[Documentation](https://docs.barkshark.xyz/asynctodon)
## Example
Check [usage](https://docs.barkshark.xyz/asynctodon/src/usage.html) 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())
```
Raw data
{
"_id": null,
"home_page": null,
"name": "asynctodon",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "activitypub, asyncio, http, mastodon, python",
"author": null,
"author_email": "Zoey Mae <admin@barkshark.xyz>",
"download_url": "https://files.pythonhosted.org/packages/07/83/32eaa4c7d8a2ae37628e908153f63c52ab56a479d65662393bbf3c558e43/asynctodon-0.1.4.tar.gz",
"platform": "any",
"description": "# Asynctodon\n\nAsyncio client for the Mastodon API\n\n[Documentation](https://docs.barkshark.xyz/asynctodon)\n\n\n## Example\n\nCheck [usage](https://docs.barkshark.xyz/asynctodon/src/usage.html) for a more complex example\n\n```\nimport asyncio\nimport webbrowser\n\nfrom asynctodon import Client\n\n\nclient = Client(\"example.com\", \"f4jl3f2309fj20fj02efj02efj\")\n\n\nasync def main():\n\tstatus = await client.new_status(\"im gay\")\n\twebbrowser.open(status.url)\n\n\nasyncio.run(main())\n```\n",
"bugtrack_url": null,
"license": "CNPL 7+",
"summary": "Async client for the Mastodon API",
"version": "0.1.4",
"project_urls": {
"Bug Tracker": "https://git.barkshark.xyz/barkshark/asynctodon/issues",
"Documentation": "https://docs.barkshark.xyz/asynctodon",
"Source Code": "https://git.barkshark.xyz/barkshark/asynctodon"
},
"split_keywords": [
"activitypub",
" asyncio",
" http",
" mastodon",
" python"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5608d728f41eef66a470f5812b71ca0a7ab29e7813e5cb5a44846ac5ba00b897",
"md5": "31b50c60aa136a82968bd8bbfd491be1",
"sha256": "309cd95b829531ef2545543dd5c9fa8ede5c866f3ac84b31dc8ade655bae357f"
},
"downloads": -1,
"filename": "asynctodon-0.1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "31b50c60aa136a82968bd8bbfd491be1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 39980,
"upload_time": "2024-08-07T16:31:38",
"upload_time_iso_8601": "2024-08-07T16:31:38.611022Z",
"url": "https://files.pythonhosted.org/packages/56/08/d728f41eef66a470f5812b71ca0a7ab29e7813e5cb5a44846ac5ba00b897/asynctodon-0.1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "078332eaa4c7d8a2ae37628e908153f63c52ab56a479d65662393bbf3c558e43",
"md5": "e7f5a171f34019919c46420a63cb51da",
"sha256": "f817ba106bc0b8584a6d0cad13ce9b3436fe3d07141380984fb5b3e6870cd339"
},
"downloads": -1,
"filename": "asynctodon-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "e7f5a171f34019919c46420a63cb51da",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 34026,
"upload_time": "2024-08-07T16:31:40",
"upload_time_iso_8601": "2024-08-07T16:31:40.242892Z",
"url": "https://files.pythonhosted.org/packages/07/83/32eaa4c7d8a2ae37628e908153f63c52ab56a479d65662393bbf3c558e43/asynctodon-0.1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-07 16:31:40",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "asynctodon"
}