EC3 Abstract Class

The EC3Abstract class contains the base functionality of interacting with the EC3 API. This class gets inherited and extended upon by by other major classes in the wrapper.

EC3Abstract

class ec3.ec3_api.EC3Abstract(bearer_token, response_format='json', ssl_verify=True)

Represents the abstract class for the Building Transparency Api

This class get inherited by other major classes.

Variables
  • page_size (int) – Specifies the page size to return. Max allowed by api is 250, defaults to 100

  • max_records (int) – Specifies the maximum number of records to return, defaults to 100

  • remove_nulls (bool) – Keep as True to remove fields with null values. Set to False to return all fields, defaults to True

__init__(bearer_token, response_format='json', ssl_verify=True)
Parameters
  • bearer_token (str) – EC3 bearer token for the user

  • response_format (str, optional) – Defaults to “json”.

  • ssl_verify (bool, optional) – Defaults to True.