[![Visitors](https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2FSenophyx%2FDiscord-RPC&label=Visitors&countColor=%2337d67a&style=flat&labelStyle=none)](https://github.com/Senophyx/Discord-RPC)
[![Discord](https://img.shields.io/discord/887650006977347594?label=EterNomm&logo=discord)](https://discord.gg/qpT2AeYZRN)
[![Total Downloads](https://static.pepy.tech/badge/discord-rpc)](https://pepy.tech/project/discord-rpc)
[![PyPI](https://img.shields.io/pypi/v/discord-rpc?label=PyPI%20Version&logo=pypi)](https://pypi.org/project/discord-rpc)
[![PyPI - Status](https://img.shields.io/pypi/status/discord-rpc?label=Packages%20Status&logo=pypi)](https://pypi.org/project/discord-rpc)
[![GitHub commit activity](https://img.shields.io/github/commit-activity/y/Senophyx/discord-rpc?label=Commit%20Activity&logo=github)](https://github.com/Senophyx/discord-rpc)
# Discord RPC
An Python wrapper for Discord RPC API. Allow you to make own custom RPC.
[![Changelog](https://img.shields.io/badge/Discord--RPC-Changelog-informational?style=for-the-badge&logo=github)](https://gist.github.com/Senophyx/019b77be3cca743c4ada423ccf80b836)
## Install
- PyPI
```
pip install discord-rpc
```
## Quick example
```py
import discordrpc
rpc = discordrpc.RPC(app_id=12345678910)
rpc.set_activity(
state="A super simple rpc",
details="simple RPC"
)
# Required if you only run Discord RPC on this file or current instance.
rpc.run()
```
`rpc.run()` is only used if you are only running Discord RPC on the current file/instance. If there are other programs/tasks on the current instance, `rpc.run()` does not need to be used.
See documentation [here](https://github.com/Senophyx/Discord-RPC/blob/main/DOCS.md).<br>
More examples [here](https://github.com/Senophyx/discord-rpc/tree/main/examples).
## Contributors
Big thanks for contributors who help this project keep updated, and maintained.
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://pukima.site"><img src="https://avatars.githubusercontent.com/u/58347116?v=4?s=100" width="100px;" alt="Pukima"/><br /><sub><b>Pukima</b></sub></a><br /><a href="#bug-Pukimaa" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/k9ur"><img src="https://avatars.githubusercontent.com/u/67886793?v=4?s=100" width="100px;" alt="k9er"/><br /><sub><b>k9er</b></sub></a><br /><a href="#doc-k9ur" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.kaleko.dev/"><img src="https://avatars.githubusercontent.com/u/54416665?v=4?s=100" width="100px;" alt="Kale"/><br /><sub><b>Kale</b></sub></a><br /><a href="#bug-Kale-Ko" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/TaIFeel"><img src="https://avatars.githubusercontent.com/u/94287800?v=4?s=100" width="100px;" alt="TaIFeel"/><br /><sub><b>TaIFeel</b></sub></a><br /><a href="#code-TaIFeel" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://buymeacoffee.com/saves"><img src="https://avatars.githubusercontent.com/u/8108358?v=4?s=100" width="100px;" alt="Jesusaves"/><br /><sub><b>Jesusaves</b></sub></a><br /><a href="#bug-pazkero" title="Bug reports">🐛</a></td>
</tr>
</tbody>
</table>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
## Links
- [Github Repository](https://github.com/Senophyx/Discord-RPC)
- [PyPI Project page](https://pypi.org/project/discord-rpc/)
- [TestPyPI Project page](https://test.pypi.org/project/discord-rpc/)
- [Discord Server](https://discord.gg/qpT2AeYZRN)
## Licence & Copyright
```
This Project under MIT License
Copyright (c) 2021-2024 Senophyx
```
Raw data
{
"_id": null,
"home_page": "https://github.com/Senophyx/discord-rpc",
"name": "discord-rpc",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Discord,rpc,discord rpc",
"author": "Senophyx",
"author_email": "contact@senophyx.id",
"download_url": "https://files.pythonhosted.org/packages/37/c5/66841a2ce461b88cf1b7af1680d037138af756e7eda14ac2151ed8495233/discord-rpc-5.0.tar.gz",
"platform": null,
"description": "[![Visitors](https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2FSenophyx%2FDiscord-RPC&label=Visitors&countColor=%2337d67a&style=flat&labelStyle=none)](https://github.com/Senophyx/Discord-RPC)\n[![Discord](https://img.shields.io/discord/887650006977347594?label=EterNomm&logo=discord)](https://discord.gg/qpT2AeYZRN)\n[![Total Downloads](https://static.pepy.tech/badge/discord-rpc)](https://pepy.tech/project/discord-rpc)\n[![PyPI](https://img.shields.io/pypi/v/discord-rpc?label=PyPI%20Version&logo=pypi)](https://pypi.org/project/discord-rpc)\n[![PyPI - Status](https://img.shields.io/pypi/status/discord-rpc?label=Packages%20Status&logo=pypi)](https://pypi.org/project/discord-rpc)\n[![GitHub commit activity](https://img.shields.io/github/commit-activity/y/Senophyx/discord-rpc?label=Commit%20Activity&logo=github)](https://github.com/Senophyx/discord-rpc)\n\n# Discord RPC\nAn Python wrapper for Discord RPC API. Allow you to make own custom RPC.\n\n[![Changelog](https://img.shields.io/badge/Discord--RPC-Changelog-informational?style=for-the-badge&logo=github)](https://gist.github.com/Senophyx/019b77be3cca743c4ada423ccf80b836)\n\n## Install\n- PyPI\n```\npip install discord-rpc\n```\n\n## Quick example\n```py\nimport discordrpc\n\nrpc = discordrpc.RPC(app_id=12345678910)\n\nrpc.set_activity(\n state=\"A super simple rpc\",\n details=\"simple RPC\"\n )\n\n# Required if you only run Discord RPC on this file or current instance.\nrpc.run()\n```\n`rpc.run()` is only used if you are only running Discord RPC on the current file/instance. If there are other programs/tasks on the current instance, `rpc.run()` does not need to be used.\n\nSee documentation [here](https://github.com/Senophyx/Discord-RPC/blob/main/DOCS.md).<br>\nMore examples [here](https://github.com/Senophyx/discord-rpc/tree/main/examples).\n\n\n## Contributors\nBig thanks for contributors who help this project keep updated, and maintained.\n\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n <tbody>\n <tr>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://pukima.site\"><img src=\"https://avatars.githubusercontent.com/u/58347116?v=4?s=100\" width=\"100px;\" alt=\"Pukima\"/><br /><sub><b>Pukima</b></sub></a><br /><a href=\"#bug-Pukimaa\" title=\"Bug reports\">\ud83d\udc1b</a></td>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/k9ur\"><img src=\"https://avatars.githubusercontent.com/u/67886793?v=4?s=100\" width=\"100px;\" alt=\"k9er\"/><br /><sub><b>k9er</b></sub></a><br /><a href=\"#doc-k9ur\" title=\"Documentation\">\ud83d\udcd6</a></td>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://www.kaleko.dev/\"><img src=\"https://avatars.githubusercontent.com/u/54416665?v=4?s=100\" width=\"100px;\" alt=\"Kale\"/><br /><sub><b>Kale</b></sub></a><br /><a href=\"#bug-Kale-Ko\" title=\"Bug reports\">\ud83d\udc1b</a></td>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/TaIFeel\"><img src=\"https://avatars.githubusercontent.com/u/94287800?v=4?s=100\" width=\"100px;\" alt=\"TaIFeel\"/><br /><sub><b>TaIFeel</b></sub></a><br /><a href=\"#code-TaIFeel\" title=\"Code\">\ud83d\udcbb</a></td>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://buymeacoffee.com/saves\"><img src=\"https://avatars.githubusercontent.com/u/8108358?v=4?s=100\" width=\"100px;\" alt=\"Jesusaves\"/><br /><sub><b>Jesusaves</b></sub></a><br /><a href=\"#bug-pazkero\" title=\"Bug reports\">\ud83d\udc1b</a></td>\n </tr>\n </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n## Links\n- [Github Repository](https://github.com/Senophyx/Discord-RPC)\n- [PyPI Project page](https://pypi.org/project/discord-rpc/)\n- [TestPyPI Project page](https://test.pypi.org/project/discord-rpc/)\n- [Discord Server](https://discord.gg/qpT2AeYZRN)\n\n## Licence & Copyright\n\n```\nThis Project under MIT License\nCopyright (c) 2021-2024 Senophyx\n```\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "An Python wrapper for Discord RPC",
"version": "5.0",
"project_urls": {
"Discord": "https://discord.gg/qpT2AeYZRN",
"Documentation": "https://github.com/Senophyx/Discord-RPC/blob/main/DOCS.md",
"Homepage": "https://github.com/Senophyx/discord-rpc",
"Issue tracker": "https://github.com/Senophyx/discord-rpc/issues"
},
"split_keywords": [
"discord",
"rpc",
"discord rpc"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ff8f133758765b1308cb139a65b5bd3bae65d515312c14bd5f46c53863aa6208",
"md5": "9f015e941e891e81f4582c91c251da8c",
"sha256": "841a8d5bd3a6d77e24b21745c13042ce197add2969083dbd43242cf558c6a3da"
},
"downloads": -1,
"filename": "discord_rpc-5.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9f015e941e891e81f4582c91c251da8c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7414,
"upload_time": "2024-03-13T16:51:06",
"upload_time_iso_8601": "2024-03-13T16:51:06.618869Z",
"url": "https://files.pythonhosted.org/packages/ff/8f/133758765b1308cb139a65b5bd3bae65d515312c14bd5f46c53863aa6208/discord_rpc-5.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "37c566841a2ce461b88cf1b7af1680d037138af756e7eda14ac2151ed8495233",
"md5": "daf98f90e6bbaf7b3679f758b2c5bccc",
"sha256": "6c32ce90c928b46b08e9b63a08df9ef3ce212802ef7b8a5eabafdc86d3893124"
},
"downloads": -1,
"filename": "discord-rpc-5.0.tar.gz",
"has_sig": false,
"md5_digest": "daf98f90e6bbaf7b3679f758b2c5bccc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6856,
"upload_time": "2024-03-13T16:51:08",
"upload_time_iso_8601": "2024-03-13T16:51:08.345748Z",
"url": "https://files.pythonhosted.org/packages/37/c5/66841a2ce461b88cf1b7af1680d037138af756e7eda14ac2151ed8495233/discord-rpc-5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-13 16:51:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Senophyx",
"github_project": "discord-rpc",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "discord-rpc"
}