Closed Enzotoy closed 4 years ago
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.71. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
You’re using python 2.7 to run the script when it is only designed for python 3.x. Try python3 bot.py
Thank, it's work, But we can't get the buy oder and sell oder price?
Can you show me the code you’re running?
there is, i'm new to python and i trying to put the price on a json file to make a "if" like that:
if sell_oder < buy_oder print("match found!")
Since there's different requirements beyond just currency, to get listings you need to make an instance of the Account class.
You need to go to register a BackpackTF app here and use the app details and plug them in below.
from BackpackTF import Account
user = Account(client_id="xxxxxxxxx", client_secret="xxxxxxxxxx", api_key="xxxxxxxxxx")
user.search_classifieds(intent="both")
There are a few other required fields when searching for classifieds that can be found here
Thank but with your code, i have this error now i tried the code on a VM but i get the same error
Try to run
pip install requests_oauthlib
If that doesn’t work try
pip3 install requests_oauthlib
Thank you it's work ! i have api access error but i think i can resolve them alone (i think xd) Nice job
No problem if you’ve got any more issues just comment somewhere
Hello, i have this error on you module:
@davidteather, thank you for reply.