-
Notifications
You must be signed in to change notification settings - Fork 1
class_APIRequest
Tom edited this page Apr 1, 2018
·
2 revisions
Parent class for all API Requests
ApiRequest(key,endpoint,arguments)
-
key(string) - Your API key. -
endpoint(string) - The endpoint to connect to -
arguments(object/dict) - Object containing all additional queries
-
key(string) - API key set -
endpoint(string) - endpoint -
arguments(object/dict) - arguments -
response(APIResponse) - Response fromself.send()only set after send has been called
url()
url (string) - The url for this request
parseArguments()
args (string) - String of arguments for use in url
send()
Sends the api request
response (APIResponse) - response from the request