This library allows you to quickly and easily use the Optimove Web API via Python based on Optimove documentation
pip install optimove
python setup.py install
from optimove.client import Client
client = Client('username', 'password')
Or
from optimove.client import Client
client = Client()
client.general.login('username', 'password')
Tests are available in tests/
folder.
The fixture used for the tests are from the documentation provided by Optimove.
python setup.py test
- 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+
- 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 – Sends a transactional email to a list of recipients
- GetTransactionalTemplateMetrics – Returns post-execution metrics for a specific transactional mail template over time
- GetTransactionalUserMetrics – Returns post-execution transactional email metrics for a specific recipient
- GetCustomerProductsByCampaign - Returns an array of customer IDs and recommended Product IDs for each customer targeted by a particular product recommendation campaign
- 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 – 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
For any issue please create a new issue