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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file optimove-2.0.0.tar.gz.

File metadata

  • Download URL: optimove-2.0.0.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for optimove-2.0.0.tar.gz
Algorithm Hash digest
SHA256 255167edb6742071a30439a620ba87967eb734d636c865b251b2af1e08c5272b
MD5 80b912c5d19f8c3a8630e729702d29b3
BLAKE2b-256 72eb1f225255f9ad66ba99a800836d06efb0b8230a26d4360d4ca28b8383e0b5

See more details on using hashes here.

File details

Details for the file optimove-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: optimove-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 31.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for optimove-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 845dfe50829ed11170ada1254624cfe5ebfac3803b974e708d41cbe1fac01491
MD5 01f8659b1bd4ce688ff11fedc17aecf1
BLAKE2b-256 f9b722830cdd6de8de946f2964f3ce785d2b343d53e4bc8565c21faeb5fa36a0

See more details on using hashes here.

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