# 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/62/ea/343ff3dec742e9e272e23b9d21c2b2e927084291422824fe7e8b55b6e7ea/memealerts-1.1.1.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.1.1",
"project_urls": {
"Author's Twitch": "https://www.twitch.tv/quantum075"
},
"split_keywords": [
"meme",
" memealert",
" memealerts",
" memes",
" twitch"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "53169d07db848facd3cb19246bb6d03e74a8a41cb8b18d4df0473df92901c8c7",
"md5": "99b88824ce4465e95fa108ccd8988300",
"sha256": "090f80d2e0a2d65e543cb92617f2cc5ce1597ddb9f8746bf90abcdd2e08ee3a1"
},
"downloads": -1,
"filename": "memealerts-1.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "99b88824ce4465e95fa108ccd8988300",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 9449,
"upload_time": "2025-08-29T08:42:48",
"upload_time_iso_8601": "2025-08-29T08:42:48.577803Z",
"url": "https://files.pythonhosted.org/packages/53/16/9d07db848facd3cb19246bb6d03e74a8a41cb8b18d4df0473df92901c8c7/memealerts-1.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "62ea343ff3dec742e9e272e23b9d21c2b2e927084291422824fe7e8b55b6e7ea",
"md5": "dafd7fcd5d1a15c6f3c1c384eec5eed2",
"sha256": "7abcd4b5677ce622bfe4eda740fee0fb188517833fefbe13f06269b8b019edd9"
},
"downloads": -1,
"filename": "memealerts-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "dafd7fcd5d1a15c6f3c1c384eec5eed2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 10373,
"upload_time": "2025-08-29T08:42:50",
"upload_time_iso_8601": "2025-08-29T08:42:50.031406Z",
"url": "https://files.pythonhosted.org/packages/62/ea/343ff3dec742e9e272e23b9d21c2b2e927084291422824fe7e8b55b6e7ea/memealerts-1.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-29 08:42:50",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "memealerts"
}