DATASET EXPLORATION
Introduction
4min
the dataset api is in an early release stage and might be subject to changes prerequisites before you begin, make sure you have access to the dataset exploration tool an account with permissions to use our api generated api credentials see advanced setup docid\ xmgm2k teox9jtn otqbm installed our python 3 sdk for authentication kognic auth https //pypi org/project/kognic auth/ no api client available at the moment we do not provide an api client for the dataset exploration tool instead, we'll provide examples of how you can interact with our api endpoints you can discover the list of accessible endpoints within our swagger documentation https //dataset app kognic com/api request example here's an example using the kognic auth library to list all datasets available to the user import requests from kognic auth requests auth session import requestsauthsession client = requestsauthsession() try response = client session get("https //dataset app kognic com/v2/datasets") response raise for status() data = response json() print(data) except requests exceptions requestexception as e print(f"request error {e}") (the v1 version of this endpoint, previously mentioned in this document, is now deprecated)