Hey Josh thanks for your help , my page Freeze when i tried to load more.
Dear Kal ,
Please any update regarding this issue , the workarround that josh gave its very difficult and im not sure if im still downloading all data needed , i will prefer if the dowloadthem all work through the main data table , this issue is delaying our team productivity i hope you can give it high priority .
please because as today im not able to download anything and the API page giving 502 Bad Gateway error , i will wait the solution from your side ASAP .
Thanks .
Hi @ahmaddiab, there is unfortunately no deployed change yet. You can try loading the API page with a limit
parameter and then using start
to paginate through your submissions:
https://[kf_url]/api/v2/assets/[asset_uid]/data?start=0&limit=100
Dear Kal/Josh ,
Please any update about the issue , when we excpect the solution .
Thanks .
Hi @ahmaddiab, there has been no update yet. Have you tried the suggestion in my previous message?
Hi @ahmaddiab, I’ve cobbled together a rough Python script for media downloads here that you can use. It will skip already downloaded media so you don’t have to download everything every time:
hi Josh,
Sorry but seems im not familiar with coding ,
can you please find for me a way that i can get only data for specific submittied date using API way !.
Hi @ahmaddiab, you can do this as follows:
If you want to download media from the date 2021-09-26
:
https://[kf_url]/api/v2/assets/[asset_uid]/data/?query={"$and":[{"_submission_time":{"$gte":"2021-09-26"}},{"_submission_time":{"$lt":"2021-09-27"}}]}
Then use DownThemAll from on that filtered set of data
its giving me : 502 Bad Gateway
nginx/1.19.10
thanks this very helping
dear josh ,
Kindly im not able anymore to download images using download them all can you please advise what i can do to resolve.
Thanks .
Hi @ahmaddiab, there was a change to the URLs included in the API, but fortunately DownThemAll still works. You should now use the filter keyword “attachments” and then download all matches:
any update on this? any other simpler workarounds?
Hi @hm11, this is likely the simplest solution for now. We will however be improving the media downloads through the Kobo interface in the coming months If know how to run a python script, you can try this option: GitHub - joshuaberetta/kobomedia