Metadata-Version: 2.1
Name: apapi
Version: 0.1.0
Summary: Unofficial Anaplan API Python client library
Home-page: https://github.com/DLZaan/apapi
Author: Milosz Kierepka
Author-email: milosz.kierepka+work@gmail.com
Maintainer: Milosz Kierepka
Maintainer-email: milosz.kierepka+work@gmail.com
License: Apache 2.0
Keywords: anaplan anaplanapi anaplanconnector client
Platform: any
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Office/Business :: Financial
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.9.0
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests (>=2.27)


# 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:
```python
>>> 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:
```console
$ python -m pip install apapi
```
APAPI supports Python 3.9+

## More info
- [Official documentation of Anaplan Integration API V2](https://anaplanbulkapi20.docs.apiary.io)
- [Official documentation of Anaplan Connect V3](https://anaplanenablement.s3.amazonaws.com/Community/Anapedia/Anaplan_Connect_User_Guide_v3.0.0.pdf)

