Skip to content
This repository was archived by the owner on Nov 8, 2021. It is now read-only.
Fatih Kılıç edited this page May 25, 2019 · 2 revisions

AnyAPI Class

Constructor Arguments:

  • base_url: API base url. (String) (Required)
  • proxy_configuration: See Proxies Page (Dictionary) (Optional)
  • proxy_handler: See Proxies Page (Dictionary) (Optional)
  • scoped_calls: See Scoped Calls Page (List[Function]) (Optional)
  • **kwargs: Any attribute you want to set Session instance (Optional)

Attributes:

  • _base_url: Base URL of your API (String)
  • _filter_request: List of functions going to be called before request (List)
  • _filter_response: List of functions going to be called before returning response (List)

AnyAPI._make_request method

Main method working in background, not recommended to directly calling it

Arguments

Return type: requests.response (If _filter_response making changes return type might be different)

Clone this wiki locally