Closed bh2smith closed 1 year ago
This method is similar to that of get_latest_resultsexcept that it returns in CSV format as outlined here: https://dune.com/docs/api/api-reference/get-results/latest-results/
get_latest_results
I noticed that the docs don't give example responses of the csv route.
A few things were updated here (url to api docs on get_latest_results).
We created a utility function to avoid tripling the same code block that handles query objects or types. Functionality is now unit tested.
Closes #66
cc @TheEdgeOfRage & @diegoximenes for additional review.
This method is similar to that of
get_latest_results
except that it returns in CSV format as outlined here: https://dune.com/docs/api/api-reference/get-results/latest-results/I noticed that the docs don't give example responses of the csv route.
A few things were updated here (url to api docs on
get_latest_results
).We created a utility function to avoid tripling the same code block that handles query objects or types. Functionality is now unit tested.
Closes #66
cc @TheEdgeOfRage & @diegoximenes for additional review.