These methods are included as convenience shortcuts for end users.
|Prints a dictionary in a format easier to read||link|
|Formats the provided date string as ISO8601 UTC||link|
Prints a dictionary to the console in a format easier to read. Can alternatively print the dictionary to a text file if a filename is provided.
Used in the examples to print the results returned by other class methods.
Any dictionary (i.e. the returned by other methods in this class)
If present, the dictionary will be printed to a text file with this filename. Can be used to store formatted results from other methods in a text file.
When not present, the dictionary is printed to the console instead.
Default value: None (prints to console)
(parameters with an underline are required)
Formats the provided date string as a ISO8601 UTC date string (the date format required by the API). Provides an easy way to format dates to include as filters in "
dateFrom" and "
A string that represents a date & time in any of the formats described in the parser.parse() method. Most date formats work, including:
Default value: 'now'
'2018-09-26, 12:00 PM'
The UTC date in ISO8601 format, as expected for dates in filters provided to other class methods.