Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 10393a8

Browse files
committed
GET /form/{id}/reports added to Python SDK
1 parent c17f99c commit 10393a8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

jotform.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,18 @@ def get_form_property(self, formID, propertyKey):
426426

427427
return self.fetch_url('/form/' + formID + '/properties/' + propertyKey, method='GET')
428428

429+
def get_form_reports(self, formID):
430+
"""Get all the reports of a form, such as excel, csv, grid, html, etc.
431+
432+
Args:
433+
formID (string): Forim ID is the numbers you see on a form URL. You can get form IDs when you call /user/forms.
434+
435+
Returns:
436+
List of all reports in a form, and other details about the reports such as title.
437+
"""
438+
439+
return self.fetch_url('/form/' + formID + '/reports', method='GET')
440+
429441
def delete_submission(self, sid):
430442
"""Delete a single submission.
431443

0 commit comments

Comments
 (0)