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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apapi-0.1.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file apapi-0.1.0.tar.gz.

File metadata

  • Download URL: apapi-0.1.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for apapi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9de185ca1931b57abdaa021d81f18c329f2103791aac95d85046d1913359a154
MD5 8bfe2b209e8363cc2b13ee4d46b9ce59
BLAKE2b-256 78f2d7e7969bb823a8ee5fca687bb844679849749314190a975bf6e573a599b3

See more details on using hashes here.

File details

Details for the file apapi-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: apapi-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for apapi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d70afff7cb8408e018846a7f3acad5bb5c2a6193d84d534ff68b45018f779ba6
MD5 d02f83e25a1b0094dc2c0433eb9fbf0e
BLAKE2b-256 e41e6475f9f927ea883910ef2ec718e28f628c6fb837213d38d77fcbd8532fad

See more details on using hashes here.

Supported by

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