Skip to main content

This library allows you to quickly and easily use the Optimove Web API v3 via Python

Project description

PyPI version Travis CI Coveralls

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

How to contribute

Troubleshooting

For any issue please create a new issue

About

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

optimove-2.0.0.tar.gz (22.1 kB view hashes)

Uploaded Source

Built Distribution

optimove-2.0.0-py3-none-any.whl (31.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page