# Memealerts Python Client
This project is a library which provides you clients for interaction with memealerts.
# Install
`pip install memealerts`
# Usage
## Using sync client
```python
from memealerts import MemealertsClient
token = "<Your bearer token>"
cli = MemealertsClient(token)
supporters = cli.get_supporters()
first_supporter = supporters.data[0].supporterId
cli.give_bonus(first_supporter, 5)
```
## Using async client
```python
import asyncio
from memealerts import MemealertsAsyncClient
token = "<Your bearer token>"
cli = MemealertsAsyncClient(token)
async def main():
supporters = await cli.get_supporters()
first_supporter = supporters.data[0].supporterId
await cli.give_bonus(first_supporter, 5)
asyncio.run(main())
```
# Badges
[](https://wakatime.com/badge/github/Quantum-0/memealerts)
[](https://github.com/Quantum-0/memealerts/actions/workflows/black.yml)
[](https://github.com/Quantum-0/memealerts/)

[](https://pypi.org/project/memealerts/)



# License
[MIT License](./LICENSE)
# TODO
- handle errors from api
- iterator for all supporters
- user/find
- other methods and schemas
-
Raw data
{
"_id": null,
"home_page": null,
"name": "memealerts",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": "Anton Kurenkov <quantum0@mail.ru>",
"keywords": "meme, memealert, memealerts, memes, twitch",
"author": null,
"author_email": "Anton Kurenkov <quantum0@mail.ru>",
"download_url": "https://files.pythonhosted.org/packages/9a/bb/19429a426a4a1a6f1d516bf1b0cf3c3d242621a21cc984156d3f15b7991d/memealerts-1.0.13.tar.gz",
"platform": null,
"description": "# Memealerts Python Client\n\nThis project is a library which provides you clients for interaction with memealerts.\n\n# Install\n\n`pip install memealerts`\n\n# Usage\n\n## Using sync client\n```python\nfrom memealerts import MemealertsClient\n\ntoken = \"<Your bearer token>\"\n\ncli = MemealertsClient(token)\n\nsupporters = cli.get_supporters()\nfirst_supporter = supporters.data[0].supporterId\ncli.give_bonus(first_supporter, 5)\n```\n\n## Using async client\n\n```python\nimport asyncio\nfrom memealerts import MemealertsAsyncClient\n\ntoken = \"<Your bearer token>\"\n\ncli = MemealertsAsyncClient(token)\n\nasync def main():\n supporters = await cli.get_supporters()\n first_supporter = supporters.data[0].supporterId\n await cli.give_bonus(first_supporter, 5)\n\nasyncio.run(main())\n```\n\n# Badges\n\n[](https://wakatime.com/badge/github/Quantum-0/memealerts)\n[](https://github.com/Quantum-0/memealerts/actions/workflows/black.yml)\n[](https://github.com/Quantum-0/memealerts/)\n\n[](https://pypi.org/project/memealerts/)\n\n\n\n\n\n# License\n\n[MIT License](./LICENSE)\n\n# TODO\n\n- handle errors from api\n- iterator for all supporters\n- user/find\n- other methods and schemas\n- ",
"bugtrack_url": null,
"license": null,
"summary": "Memealerts async/sync client",
"version": "1.0.13",
"project_urls": {
"Author's Twitch": "https://www.twitch.tv/quantum075"
},
"split_keywords": [
"meme",
" memealert",
" memealerts",
" memes",
" twitch"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "e9e7f4f8a8d3ab828bbf22bdaf5e6c13c1510fdf54d9ce6648497d77aa062f47",
"md5": "d40fa62e811fbb94f35f3ae3e10e037e",
"sha256": "c4dc9db26e47110845f71b37509990a34809df0d60e21e5abbe9d19534bc9402"
},
"downloads": -1,
"filename": "memealerts-1.0.13-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d40fa62e811fbb94f35f3ae3e10e037e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 9294,
"upload_time": "2025-07-27T16:11:36",
"upload_time_iso_8601": "2025-07-27T16:11:36.564243Z",
"url": "https://files.pythonhosted.org/packages/e9/e7/f4f8a8d3ab828bbf22bdaf5e6c13c1510fdf54d9ce6648497d77aa062f47/memealerts-1.0.13-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "9abb19429a426a4a1a6f1d516bf1b0cf3c3d242621a21cc984156d3f15b7991d",
"md5": "edec12705c404bddc9965728fcd9e91a",
"sha256": "01d3d58a5cb4496265a52cda189f693a1dcff5a7b662980ed7bc67d0ab9c3061"
},
"downloads": -1,
"filename": "memealerts-1.0.13.tar.gz",
"has_sig": false,
"md5_digest": "edec12705c404bddc9965728fcd9e91a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 10232,
"upload_time": "2025-07-27T16:11:37",
"upload_time_iso_8601": "2025-07-27T16:11:37.559347Z",
"url": "https://files.pythonhosted.org/packages/9a/bb/19429a426a4a1a6f1d516bf1b0cf3c3d242621a21cc984156d3f15b7991d/memealerts-1.0.13.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-27 16:11:37",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "memealerts"
}