gfwapiclient.http.resources

Global Fishing Watch (GFW) API Python Client - HTTP Resource.

Module Contents

Classes

BaseResource

Base class for API resources.

Data

API

gfwapiclient.http.resources.__all__ = ['BaseResource']
class gfwapiclient.http.resources.BaseResource(*, http_client: gfwapiclient.http.client.HTTPClient)

Base class for API resources.

This class provides a foundation for interacting with specific API resources, encapsulating the endpoints and offering methods to define and execute API requests.

Initialization

Initialize a new BaseResource.

Args:
http_client (HTTPClient):

The HTTP client to send requests.

_http_client: gfwapiclient.http.client.HTTPClient = None