# loopsapi
Python wrapper for Loops.so API
#### Install
```
pip3 install loopsapi
```
### Example
```Python
import os
import loopsapi
API_KEY = os.environ['LOOPS_API_KEY']
api = loopsapi.Loops(api_key=API_KEY)
test = api.apikey.test()
print(print)
```
## Classes and methods
```
Loops.apikey.test - Test if API KEY is valid
Loops.custom_fields.list - List custom fields
Loops.transactional_emails.send - Send transactional email
Loops.events.send - Send event
Loops.contacts.find - Find contact
Loops.contacts.create - Create contact
Loops.contacts.update - Update contact
Loops.contacts.delete - Delete contact
```
Raw data
{
"_id": null,
"home_page": "https://github.com/abrihter/loopsapi",
"name": "loopsapi",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "LOOPS,LOOPS.SO,API,WRAPPER",
"author": "abrihter",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/2b/7c/1205e41de6dcf6741000f6a426fb484e29e20ecb1b5b9e2c07451aafee8a/loopsapi-0.2.tar.gz",
"platform": null,
"description": "# loopsapi\nPython wrapper for Loops.so API\n\n#### Install\n```\npip3 install loopsapi\n```\n\n### Example\n```Python\nimport os\nimport loopsapi\n\nAPI_KEY = os.environ['LOOPS_API_KEY']\n\napi = loopsapi.Loops(api_key=API_KEY)\ntest = api.apikey.test()\nprint(print)\n```\n\n## Classes and methods\n```\nLoops.apikey.test - Test if API KEY is valid\n\nLoops.custom_fields.list - List custom fields\n\nLoops.transactional_emails.send - Send transactional email\n\nLoops.events.send - Send event\n\nLoops.contacts.find - Find contact\nLoops.contacts.create - Create contact\nLoops.contacts.update - Update contact\nLoops.contacts.delete - Delete contact\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python wrapper for the Loops.so API",
"version": "0.2",
"project_urls": {
"Download": "https://github.com/abrihter/loopsapi/archive/refs/tags/v0.2.tar.gz",
"Homepage": "https://github.com/abrihter/loopsapi"
},
"split_keywords": [
"loops",
"loops.so",
"api",
"wrapper"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2b7c1205e41de6dcf6741000f6a426fb484e29e20ecb1b5b9e2c07451aafee8a",
"md5": "33b6e1b06c085c9f8c8496938e7e4599",
"sha256": "76d5da2a9e5872d01738ecd2239be53e4bceb2826ace5fd14d9025ef96abe4d2"
},
"downloads": -1,
"filename": "loopsapi-0.2.tar.gz",
"has_sig": false,
"md5_digest": "33b6e1b06c085c9f8c8496938e7e4599",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4258,
"upload_time": "2023-12-09T03:01:17",
"upload_time_iso_8601": "2023-12-09T03:01:17.582349Z",
"url": "https://files.pythonhosted.org/packages/2b/7c/1205e41de6dcf6741000f6a426fb484e29e20ecb1b5b9e2c07451aafee8a/loopsapi-0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-09 03:01:17",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "abrihter",
"github_project": "loopsapi",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "loopsapi"
}