Hi,
I’m using KoboExtractor — koboextractor 0.2.1 documentation to get my data with the API.
I’m using :
from koboextractor import KoboExtractor
import pandas as pd
kobo = KoboExtractor('XXX', 'https://kf.kobotoolbox.org/api/v2')
assets = kobo.list_assets()
uid_postes=assets['results'][0]['uid']
uid_poteaux=assets['results'][1]['uid']
uid_clients=assets['results'][2]['uid']
uid_ep=assets['results'][3]['uid']
data_postes = kobo.get_data(uid_postes)
data_poteaux = kobo.get_data(uid_poteaux)
data_clients = kobo.get_data(uid_clients)
data_ep = kobo.get_data(uid_ep)
postes = pd.DataFrame(data_postes['results'])
poteaux = pd.DataFrame(data_poteaux['results'])
clients = pd.DataFrame(data_clients['results'])
ep = pd.DataFrame(data_ep['results'])
I would like get the data within python with the following export settings :
Is it possible to do so ? if so, how ?