Closed joemccann closed 1 year ago
Issue #4 has been resolved. The catalog() function has been updated to eliminate duplicate method names for different endpoints. Now, the array returned by api_list contains only unique method names representing all endpoints. Thank you for bringing this to our attention!
I'd also recommend running some tests against your API as you add methods and also considering "pinning" the version of the API so end users can rely on the API being fixed/deterministic.
If you call
catalog()
and create an array of all themethodNames
in the array that is returned forapi_list
there are three duplicate method names for different endpoints (6 total endpoints):1st duplicate:
Recommendation: change the method with the description "Retrieve Perpetual Funding Data for a Specific Currency and Type" to
getPerpetualFundingDataWithType
.2nd duplicate:
Recommendation: change the method with the description "Historical DOVs Weekly Auctions" to
dovsHistorical
.3rd duplicate:
Recommendation: change the method with the description "Retrieve Historical Futures Open Interest Weighted Basis for a Specific Currency" to
getFuturesOIWeightedBasisFunding
.