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

Skip to content

Commit bcf854b

Browse files
committed
GET system/plan/#planName added
1 parent 002a7c7 commit bcf854b

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
@@ -648,4 +648,16 @@ def login_user(self, credentials):
648648

649649
return self.fetch_url('/user/login', credentials, 'POST')
650650

651+
def get_plan(self, plan_name):
652+
"""Get details of a plan
653+
654+
Args:
655+
plan_name (string): Name of the requested plan. FREE, PREMIUM etc.
656+
657+
Returns:
658+
Details of a plan
659+
"""
660+
661+
return self.fetch_url('/system/plan/' + plan_name, method='GET')
662+
651663

0 commit comments

Comments
 (0)