preheat_open.api¶
This module defines the basics of the interaction with Neogrid’s web API
Functions
|
Method to send a GET request to the API |
|
Method to send a POST request to the API |
|
Method to send a PUT request to the API |
Converts a datetime string from the API to a python datetime |
|
Determines the path of the configuration file to be used. |
|
Converts a python datetime to a string ready for use in the API I/O |
|
|
Helper function to turn list into string, e.g. |
Loads the API configuration |
|
|
Sets the API key |
|
Only kept for backwards compatibility |
Classes
|
Singleton class to handle API connection sessions |