This module provides a SDK for interacting with the Digiseg API.
Documentation for the API can be found on https://developer.digiseg.net/
Install the package:
pip install git+https://github.com/digiseg-labs/api-client-python.git
Import the package and start using it:
import digiseg_api
# look up audiences
configuration = digiseg_api.Configuration()
configuration.api_key['apiKeyHeaderAuth'] = apiKey
with digiseg_api.ApiClient(configuration) as api_client:
audiencesApi = digiseg_api.AudiencesApi(api_client)
audiencesResponse = audiencesApi.resolve_audiences_of_single("152.115.123.174", include="core,category")
More code examples for how to use this module can be found in the examples
directory.
The code in this repo is generated based on the OpenAPI spec of the APIs.
To regenerate, run:
make codegen
make clean