charredgrass / node-backpacktf

A node.js module to get data from the backpack.tf API.
GNU General Public License v2.0
7 stars 2 forks source link

backpacktf.getBPPrices is not a function #2

Open lukeh990 opened 4 years ago

lukeh990 commented 4 years ago

I am trying to use the getBPPrices with npm backpacktf 0.3.0 but I get this TypeError: backpacktf.getBPPrices is not a function at Object.<anonymous> (/app/index.js:43:12) at Module._compile (module.js:653:30) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) at Function.Module.runMain (module.js:694:10) at startup (bootstrap_node.js:204:16) at bootstrap_node.js:625:3 /app/index.js:43 backpacktf.getBPPrices(key, "440", function(err, data) { ^ TypeError: backpacktf.getBPPrices is not a function at Object.<anonymous> (/app/index.js:43:12) at Module._compile (module.js:653:30) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) at Function.Module.runMain (module.js:694:10) at startup (bootstrap_node.js:204:16) at bootstrap_node.js:625:3

CRD716 commented 4 years ago

same issue here, what's up with that?

porkandbeans commented 3 years ago

I encountered this too

backpacktf.getBPPrices is not a function, but I believe it's referring to backpacktf.getCommunityPrices which does the same thing?