Open nickrsan opened 4 years ago
We're currently using an environment to store the token, which is fine, but maybe just making it an R6 object makes more sense? Not sure if it really needs rearchitecting or not though
We can also make the convenience functions return an object for those that don't want to instantiate it directly - then they can use methods of the object to export data as CSVs, save plots, etc.
Under the hood, can have the same functions operate with the class under the hood, but can also run the R6 object itself to make multiple requests.