preheat_open.api.session

This module defines the basics of the interaction with Neogrid’s web API

Functions

api_string_to_datetime(t)

Converts a datetime string from the API to a python datetime

datetime_to_api_string(t)

Converts a python datetime to a string ready for use in the API I/O

prepare(item[, as_json])

Method to convert a parameter to a format that can be sent to the API

Classes

ApiSession([config])

Class to handle API connection sessions

Exceptions

APIDataExtractError