# warranted-python
A helper library for using the Warranted.io API.
## Installation
`pip install warranted`
### Test your installation
To make sure the installation was successful, try hitting the `/api/v1/me` API, like this:
```python
import os
from warranted import Client
# Get your Account Id and Auth Token from https://app.warranted.io/settings/webhook
account_id = os.environ['WARRANTED_ACCOUNT_ID']
auth_token = os.environ['WARRANTED_AUTH_TOKEN']
warranted_client = Client(account_id, auth_token)
# Fetch and print the response object
response = warranted_client.me.get()
print(response)
```
## Usage
Check out [our docs](https://app.warranted.io/docs) for more details.
Raw data
{
"_id": null,
"home_page": "https://github.com/warranted-io/warranted-python",
"name": "warranted",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "warranted api",
"author": "API Team <api@warranted.io>",
"author_email": "api@warranted.io",
"download_url": "https://files.pythonhosted.org/packages/a7/f3/44130bbbe6e08b50a6d19fca3dfd19f48ea403eb3d44741154c305bbcc68/warranted-1.0.0.tar.gz",
"platform": null,
"description": "# warranted-python\nA helper library for using the Warranted.io API.\n\n## Installation\n`pip install warranted`\n\n### Test your installation\nTo make sure the installation was successful, try hitting the `/api/v1/me` API, like this:\n```python\nimport os\nfrom warranted import Client\n\n# Get your Account Id and Auth Token from https://app.warranted.io/settings/webhook\naccount_id = os.environ['WARRANTED_ACCOUNT_ID']\nauth_token = os.environ['WARRANTED_AUTH_TOKEN']\nwarranted_client = Client(account_id, auth_token)\n\n# Fetch and print the response object\nresponse = warranted_client.me.get()\nprint(response)\n```\n\n## Usage\nCheck out [our docs](https://app.warranted.io/docs) for more details.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Warranted helper library",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/warranted-io/warranted-python"
},
"split_keywords": [
"warranted",
"api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c58d0cccfc1872ff089e914f85e3cfd6e2a702ef3b99f279a272efb675d634b4",
"md5": "6250da4e8fb3f7def6ddd3df247f2ccb",
"sha256": "afca37f3f946f0f90d55f6a8c8305cfec33aece8bbd4fc7fbea913cd76081574"
},
"downloads": -1,
"filename": "warranted-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6250da4e8fb3f7def6ddd3df247f2ccb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5222,
"upload_time": "2024-05-16T04:03:00",
"upload_time_iso_8601": "2024-05-16T04:03:00.767456Z",
"url": "https://files.pythonhosted.org/packages/c5/8d/0cccfc1872ff089e914f85e3cfd6e2a702ef3b99f279a272efb675d634b4/warranted-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a7f344130bbbe6e08b50a6d19fca3dfd19f48ea403eb3d44741154c305bbcc68",
"md5": "2733ad2a97ba008de70019656c6072a9",
"sha256": "65a74ba1a8bb5057e583222f42d1d9a68a3d92b86806835f75ffb34c29245b66"
},
"downloads": -1,
"filename": "warranted-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "2733ad2a97ba008de70019656c6072a9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4639,
"upload_time": "2024-05-16T04:03:02",
"upload_time_iso_8601": "2024-05-16T04:03:02.915216Z",
"url": "https://files.pythonhosted.org/packages/a7/f3/44130bbbe6e08b50a6d19fca3dfd19f48ea403eb3d44741154c305bbcc68/warranted-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-16 04:03:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "warranted-io",
"github_project": "warranted-python",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "warranted"
}