Python calling DreamFactory-mounted APIs

From DreamFactory
Jump to: navigation, search
DreamFactoryTutorialsPython calling DreamFactory-mounted APIs

To seamlessly call DreamFactory-mounted APIs from your Python scripts. You can use the platform's custom data structures to call DreamFactory-hosted APIs like this:

api = platform['api']

url = 'mysql/api/v2/employees?limit=5'

result = api.get(url)

print result.status