Optimove
This library allows you to quickly and easily use the Optimove Web API via Python based on Optimove documentation
Installation
From Pypi
pip install optimove
From source
python setup.py install
Quick start
Create a new client
from optimove.client import Client
client = Client('username', 'password')
Or
from optimove.client import Client
client = Client()
client.general.login('username', 'password')
Test
Tests are available in tests/ folder.
The fixture used for the tests are from the documentation provided by Optimove.
python setup.py test
Usage
Roadmap
Missing features
[ ] Add missing pagination parameters / Refacto pagination parameters (maybe with a decorator)
[ ] Test pagination
[ ] Better authentication management
[ ] Auto-reconnect as soon as possible (based on expire value)
[ ] Use custom exceptions
[ ] Prepare compatibility with Python 3.4+
New API functions
[ ] [GetCustomerOneTimeActionsByCampaign](http://docs.optimove.com/api-usage-guide/#GetCustomerOneTimeActionsByCampaign) – Returns a list of customers and the details associated with a particular one-time campaign (i.e., via a manually-imported customer list)
[ ] [SendTransactionalMail](http://docs.optimove.com/api-usage-guide/#SendTransactionalMail) – Sends a transactional email to a list of recipients
[ ] [GetTransactionalTemplateMetrics](http://docs.optimove.com/api-usage-guide/#GetTransactionalTemplateMetrics) – Returns post-execution metrics for a specific transactional mail template over time
[ ] [GetTransactionalUserMetrics](http://docs.optimove.com/api-usage-guide/#GetTransactionalUserMetrics) – Returns post-execution transactional email metrics for a specific recipient
[ ] [GetCustomerProductsByCampaign](http://docs.optimove.com/api-usage-guide/#GetCustomerProductDetailsByCampaign) - Returns an array of customer IDs and recommended Product IDs for each customer targeted by a particular product recommendation campaign
[ ] [GetCustomerProductDetailsByDate](http://docs.optimove.com/api-usage-guide/#GetCustomerProductDetailsByDate) – Returns an array of customer IDs and recommended Product IDs for each customer targeted by any product recommendation campaign on a particular date
[ ] [GetCampaignInteractionCustomers](http://docs.optimove.com/api-usage-guide/#GetCampaignInteractionCustomers) – Returns an array of Customer IDs and the Campaign ID and Template ID for each customer who performed a particular interaction with a campaign that was delivered on a particular date via a particular channel
How to contribute
Troubleshooting
For any issue please create a new issue
About
Metadata
Release files for optimove 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| optimove-2.0.0.tar.gz | 22.1 kB | Without provenance | Details for optimove-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| optimove-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for optimove-2.0.0-py3-none-any.whl |
Total release size: 53.3 kB
Release files / optimove-2.0.0.tar.gz
| Download URL | optimove-2.0.0.tar.gz |
|---|---|
| Size | 22.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
255167edb6742071a30439a620ba87967eb734d636c865b251b2af1e08c5272b
|
|
BLAKE2b-256 checksum How to use checksums |
72eb1f225255f9ad66ba99a800836d06efb0b8230a26d4360d4ca28b8383e0b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
|
Release files / optimove-2.0.0-py3-none-any.whl
| Download URL | optimove-2.0.0-py3-none-any.whl |
|---|---|
| Size | 31.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
845dfe50829ed11170ada1254624cfe5ebfac3803b974e708d41cbe1fac01491
|
|
BLAKE2b-256 checksum How to use checksums |
f9b722830cdd6de8de946f2964f3ce785d2b343d53e4bc8565c21faeb5fa36a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
|
Security for optimove 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.