Module datatap.api

The datatap.api module provides two different interfaces for the API.

The simplest of these is found in datatap.api.endpoints, and contains classes and methods for directly interfacing with the API using its HTTP/JSON protocol.

The more powerful interface is the datatap.api.entities interface, which wraps these endpoints into python objects with convenience methods for accessing other entities.

Expand source code
"""
The `datatap.api` module provides two different interfaces for the API.

The simplest of these is found in `endpoints`, and contains classes and methods
for directly interfacing with the API using its HTTP/JSON protocol.

The more powerful interface is the `entities` interface, which wraps these
endpoints into python objects with convenience methods for accessing other
entities.
"""

from . import endpoints
from . import entities
from . import types

__all__ = [
    "endpoints",
    "entities",
    "types",
]

Sub-modules

datatap.api.endpoints

Encapsulates all of the raw API requests …

datatap.api.entities

The datatap.api.entities submodule contains several enttiies that provide a user-friendly abstraction for the dataTap API.

datatap.api.types

The datatap.api.types library contains all of the types returned by the API.