basically making python functions for each of the API 'functions' that take the same arguments at the API functions and just passing through the request. then adding a few keyword arguments to the python function for specifying things like output formatting, etc
Output options would ideally include something like 'raw' and 'dataframe'.
For functions that can return more than one result, include option to return only the single 'best' result.
If returning a 'dataframe' for a function that returns multiple results, return multiple rows per input with a key of some sort back to the original input. (maybe a numerical key corresponding to row number of input)
All functions can take batch input. if the corresponding API functions support batch operations, chunk the input and process in batches. otherwise just process through the inputs one at a time and return all results as a list of raw results or dataframe of all results.
EG
basically making python functions for each of the API 'functions' that take the same arguments at the API functions and just passing through the request. then adding a few keyword arguments to the python function for specifying things like output formatting, etc
https://docs.dimensions.ai/dsl/functions.html