| Name | lyntrpy JSON |
| Version |
1.0.0
JSON |
| download |
| home_page | None |
| Summary | A api wrapper for lyntr`s api in python |
| upload_time | 2024-08-08 16:43:18 |
| maintainer | None |
| docs_url | None |
| author | None |
| requires_python | >=3.8 |
| license | None |
| keywords |
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# lyntrpy
A api wrapper for lyntr`s api in python
# How to make the .env file
In order to create a `.env` file you need 3 cookies:
- `_TOKEN_DO_NOT_SHARE`
- `temp-discord-token`
- `cf_clearance`
The `_TOKEN_DO_NOT_SHARE` cookie is required to authenticate with the lyntr api.
The `temp-discord-token` cookie is only needed when creating an account (to my knowledge) so it can probaly left empty but i would stil set it.
The `cf_clearance` is used to authenticate with cloudflare and use the api and not be blocked. This cookie is known for expirering quickly, for now the
solution is to manualy copy the cookie from a browser and paste it it (i am working on an automatic system).
Now that we know what each cookie does, how to actually get them? (please note the tutorial for getting the cookies is for firefox)
Firstly navigate to [lyntr](https://lyntr.com) and press `Control+S+I`, you should be meet with this

Now navigate to the `Storage` tab

And click on `Cookies > https://lyntr.com`

Now copy the `_TOKEN_DO_NOT_SHARE` cookie to the file `.env` to a variable named `TOKEN`, the `temp-discord-token` cookie to `temp-discord-token` and the `cf_clearance` cookie to `cf_clearance`.
If you do all these steps correctly you should be able to start implementing the wrapper in your code.
Happy Codeing.
# ToDo
- [ ] Add photo support for lynting
- [ ] Add auto cloudflare cookies collector from browser to .env is not required
Raw data
{
"_id": null,
"home_page": null,
"name": "lyntrpy",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": "PlOszukiwacz <ploszukiwacz1@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/3d/e5/075857f84902bdf64e96ddd20ea35bdfde7194e699305720b9e8637397a0/lyntrpy-1.0.0.tar.gz",
"platform": null,
"description": "# lyntrpy\r\n A api wrapper for lyntr`s api in python\r\n\r\n# How to make the .env file\r\nIn order to create a `.env` file you need 3 cookies:\r\n- `_TOKEN_DO_NOT_SHARE`\r\n- `temp-discord-token`\r\n- `cf_clearance`\r\n\r\nThe `_TOKEN_DO_NOT_SHARE` cookie is required to authenticate with the lyntr api.\r\n\r\nThe `temp-discord-token` cookie is only needed when creating an account (to my knowledge) so it can probaly left empty but i would stil set it.\r\n\r\nThe `cf_clearance` is used to authenticate with cloudflare and use the api and not be blocked. This cookie is known for expirering quickly, for now the \r\nsolution is to manualy copy the cookie from a browser and paste it it (i am working on an automatic system).\r\n\r\nNow that we know what each cookie does, how to actually get them? (please note the tutorial for getting the cookies is for firefox)\r\n\r\nFirstly navigate to [lyntr](https://lyntr.com) and press `Control+S+I`, you should be meet with this\r\n\r\n\r\nNow navigate to the `Storage` tab\r\n\r\n\r\nAnd click on `Cookies > https://lyntr.com`\r\n\r\n\r\nNow copy the `_TOKEN_DO_NOT_SHARE` cookie to the file `.env` to a variable named `TOKEN`, the `temp-discord-token` cookie to `temp-discord-token` and the `cf_clearance` cookie to `cf_clearance`.\r\n\r\nIf you do all these steps correctly you should be able to start implementing the wrapper in your code.\r\n\r\nHappy Codeing.\r\n\r\n# ToDo\r\n- [ ] Add photo support for lynting\r\n- [ ] Add auto cloudflare cookies collector from browser to .env is not required\r\n",
"bugtrack_url": null,
"license": null,
"summary": "A api wrapper for lyntr`s api in python",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/PlOszukiwaczDEV/lyntrpy",
"Issues": "https://github.com/PlOszukiwaczDEV/lyntrpy/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1d7b111fdd4fa459a0d08e78cbd2b6c89fdc8120f392117be8a3184d49a9aebe",
"md5": "611a892c8b168f5164012b4b6ba67ae6",
"sha256": "33244857976457da4de04599fa8073c280623ff772480f75c7deb29edfd04cda"
},
"downloads": -1,
"filename": "lyntrpy-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "611a892c8b168f5164012b4b6ba67ae6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 16716,
"upload_time": "2024-08-08T16:43:16",
"upload_time_iso_8601": "2024-08-08T16:43:16.486715Z",
"url": "https://files.pythonhosted.org/packages/1d/7b/111fdd4fa459a0d08e78cbd2b6c89fdc8120f392117be8a3184d49a9aebe/lyntrpy-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3de5075857f84902bdf64e96ddd20ea35bdfde7194e699305720b9e8637397a0",
"md5": "6aadf54291c5fcbad626cc7041c5ca00",
"sha256": "77e3a262b2078a261d68e3aebfb7008362f86df158623a98a1e7bb1b352cba79"
},
"downloads": -1,
"filename": "lyntrpy-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "6aadf54291c5fcbad626cc7041c5ca00",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 15926,
"upload_time": "2024-08-08T16:43:18",
"upload_time_iso_8601": "2024-08-08T16:43:18.436617Z",
"url": "https://files.pythonhosted.org/packages/3d/e5/075857f84902bdf64e96ddd20ea35bdfde7194e699305720b9e8637397a0/lyntrpy-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-08 16:43:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "PlOszukiwaczDEV",
"github_project": "lyntrpy",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "lyntrpy"
}