I want to upload XML files through Python code. Is there any special interface or other solution?

(Guxiaowei) #1

What is the problem? Please be detailed.
now i have excel files and odk aggregate server, i want to use python transformation excel(solved with pyxform) and upload xml file to my odk aggregate,Is there any special interface or other solution?
What ODK tool and version are you using? And on what device and operating system version?

What steps can we take to reproduce the problem?

What you have you tried to fix the problem?

Anything else we should know or have? If you have a test form or screenshots or logs, attach here.

(Yaw Anokwa) #2

ODK Aggregate form upload via commandline (curl) has some examples in curl.

https://docs.opendatakit.org/openrosa is the API and if you need an example in Java https://github.com/opendatakit/briefcase has Java code that does that.

(Guxiaowei) #3

Problem solved with your help,thank you!