Read and insert data using the Twinfield API.
Project description
Twinfield
Python package for reading and insert data in Twinfield using the official Twinfield API.
Installation
pip install twinfield
Scoping
This package currently supports the import of the following modules:
Browse codes
- 030_1 (Transactions)
- 040_1 (Annual report)
- 100 (Customers)
- 200 (Suppliers)
Dimensions
- dimensions_kpl (kostenplaatsen)
- dimensions_deb (debiteuren stamgegevens)
- dimensions_crd (crediteuren stamgegevens)
More modules will be added in the near future.
Usage
from twinfield import twinfield
df = twinfield.query("040_1", jaar=2020)
Environment variables
Some credentials are needed for connecting with the twinfield API. Add the following credentials to your environment variables.
TW_USER_LS=""
TW_PW_LS=""
TW_ORG_LS=""
How to set environment variables?
Link to the Twinfield API documentation.
For business inquiries concerning this package, contact us at:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
twinfield-1.0.8.tar.gz
(20.7 kB
view hashes)
Built Distribution
twinfield-1.0.8-py3-none-any.whl
(34.4 kB
view hashes)
Close
Hashes for twinfield-1.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 225a29b78d6f9b91d2f36c1b342d74fb37e7eaa35c5ac47058fa54e89748f6a3 |
|
MD5 | 94b8f453b9ae0c7d3ca9a726a1693eee |
|
BLAKE2b-256 | c85687646a6c5b04b1fe005c415fd473fe787b5437733884b63754006ae45668 |