MCPcopy Index your code
hub / github.com/ccxt/node-binance-api / publicRequest

Function publicRequest

deprecated/node-binance-api.js:247–250  ·  view source on GitHub ↗
(url, data = {}, callback, method = 'GET')

Source from the content-addressed store, hash-verified

245 * @return {undefined}
246 */
247 const publicRequest = (url, data = {}, callback, method = 'GET') => {
248 let opt = reqObj(url, data, method);
249 proxyRequest(opt, callback);
250 };
251
252 // XXX: This one works with array (e.g. for dust.transfer)
253 // XXX: I _guess_ we could use replace this function with the `qs` module

Callers 4

setOptionsFunction · 0.85
apiFunction · 0.85
getSymbolDepthSnapshotFunction · 0.85
getSymbolKlineSnapshotFunction · 0.85

Calls 2

reqObjFunction · 0.85
proxyRequestFunction · 0.85

Tested by

no test coverage detected