Name | patched-slack-sdk JSON |
Version |
0.1.0
JSON |
| download |
home_page | None |
Summary | A patched version of slack-sdk to allow the use of slack API without any access tokens creation. This patch uses existing credentials from the installed slack app. |
upload_time | 2024-04-29 20:47:54 |
maintainer | None |
docs_url | None |
author | iYasha |
requires_python | <4.0,>=3.8 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Patched slack-sdk
__This project is not endorsed or authorised in any way by Slack Technologies LLC.__
The Slack API is essential for all Slack clients, such as the official desktop app and third-party bots, to interact with and modify the data that shapes the Slack user experience. Authorization is required from all clients to access this API.
Since July 2021, individual user access to the Slack API (excluding bot access) has been granted through a personal token (starting with xoxc-) and a cookie named d. Each Slack Workspace has its unique personal token, while the cookie remains the same across all workspaces.
If you are using the Slack desktop app, these credentials are stored locally on your machine. This modified client extracts them from the app's local storage, allowing their use for purposes beyond those supported by the app itself.
## QuickStart
### Requirements
- Python <=3.8 - because leveldb is not compatible with a higher version
### Installation
```bash
pip install patched-slack
```
## Usage
Authentication test
```python
from patched_slack_sdk import PatchedWebClient
client = PatchedWebClient()
print(client.auth_test())
```
Update slack status
```python
from patched_slack_sdk import PatchedWebClient
client = PatchedWebClient()
client.users_profile_set(
profile={
"status_text": "I'm out of the office",
"status_emoji": ":palm_tree:",
}
)
```
## Contributing
Contributions are always welcome! Please feel free to submit a pull request.
Raw data
{
"_id": null,
"home_page": null,
"name": "patched-slack-sdk",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": null,
"keywords": null,
"author": "iYasha",
"author_email": "33287747+iYasha@users.noreply.github.com",
"download_url": "https://files.pythonhosted.org/packages/bb/01/47fc547f35e9b501edf4b10750c2a7baf5bb555d0f22e8c287db002712b5/patched_slack_sdk-0.1.0.tar.gz",
"platform": null,
"description": "# Patched slack-sdk\n__This project is not endorsed or authorised in any way by Slack Technologies LLC.__\n\nThe Slack API is essential for all Slack clients, such as the official desktop app and third-party bots, to interact with and modify the data that shapes the Slack user experience. Authorization is required from all clients to access this API.\n\nSince July 2021, individual user access to the Slack API (excluding bot access) has been granted through a personal token (starting with xoxc-) and a cookie named d. Each Slack Workspace has its unique personal token, while the cookie remains the same across all workspaces.\n\nIf you are using the Slack desktop app, these credentials are stored locally on your machine. This modified client extracts them from the app's local storage, allowing their use for purposes beyond those supported by the app itself.\n\n## QuickStart\n\n### Requirements\n\n- Python <=3.8 - because leveldb is not compatible with a higher version\n\n### Installation\n\n```bash\npip install patched-slack\n```\n\n## Usage\n\nAuthentication test\n\n```python\nfrom patched_slack_sdk import PatchedWebClient\n\nclient = PatchedWebClient()\nprint(client.auth_test())\n```\n\nUpdate slack status\n\n```python\nfrom patched_slack_sdk import PatchedWebClient\n\nclient = PatchedWebClient()\nclient.users_profile_set(\n profile={\n \"status_text\": \"I'm out of the office\",\n \"status_emoji\": \":palm_tree:\",\n }\n)\n```\n\n## Contributing\nContributions are always welcome! Please feel free to submit a pull request.",
"bugtrack_url": null,
"license": null,
"summary": "A patched version of slack-sdk to allow the use of slack API without any access tokens creation. This patch uses existing credentials from the installed slack app.",
"version": "0.1.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "161607930d18172d9f3b80e8c6017003eb809dbb92e458476a28d0afced75592",
"md5": "b0f455a3ac6f22bafb2cbff3d4875682",
"sha256": "6798edf2311fef8bdc298e84ac7594a229e510dd5f8d6476ae8f5383dfcea029"
},
"downloads": -1,
"filename": "patched_slack_sdk-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b0f455a3ac6f22bafb2cbff3d4875682",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 17533,
"upload_time": "2024-04-29T20:47:53",
"upload_time_iso_8601": "2024-04-29T20:47:53.716723Z",
"url": "https://files.pythonhosted.org/packages/16/16/07930d18172d9f3b80e8c6017003eb809dbb92e458476a28d0afced75592/patched_slack_sdk-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bb0147fc547f35e9b501edf4b10750c2a7baf5bb555d0f22e8c287db002712b5",
"md5": "63309dc64354de9f614b400df1d5f2fe",
"sha256": "2965b6b4ffb6d1e913121f00de8fd8aa0c630ed967f19369ce7b8776b472e9e4"
},
"downloads": -1,
"filename": "patched_slack_sdk-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "63309dc64354de9f614b400df1d5f2fe",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8",
"size": 16370,
"upload_time": "2024-04-29T20:47:54",
"upload_time_iso_8601": "2024-04-29T20:47:54.997068Z",
"url": "https://files.pythonhosted.org/packages/bb/01/47fc547f35e9b501edf4b10750c2a7baf5bb555d0f22e8c287db002712b5/patched_slack_sdk-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-29 20:47:54",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "patched-slack-sdk"
}