Skip to main content

Unofficial Anaplan API Python client library

Project description

APAPI

APAPI is a library that allows you to connect to Anaplan API v2 (Bulk, and soon Transactional) using Python. Here we export some CSV and import it back to Anaplan:

>>> import apapi
>>> my_connection = apapi.Connection(f'{email}:{password}')
>>> my_connection.run_export(workspace_id, model_id, export_id)
>>> data = my_connection.download_data(workspace_id, model_id, export_id)
>>> print(data.decode())
Versions,Data,Text
Actual,1,test
Budget,2.5,ąćęłńśżź
Forecast,-3,😂
>>> my_connection.upload_data(workspace_id, model_id, file_id, data)
>>> my_connection.run_import(workspace_id, model_id, import_id)

Installing Anaplan Python API and Supported Versions

APAPI is available on PyPI:

$ python -m pip install apapi

APAPI supports Python 3.9+

More info

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

apapi-0.1.0.tar.gz (8.9 kB view hashes)

Uploaded Source

Built Distribution

apapi-0.1.0-py3-none-any.whl (10.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