Giter Site home page Giter Site logo

Comments (10)

issue-label-bot avatar issue-label-bot commented on September 26, 2024

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.71. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

from backpacktf-api.

davidteather avatar davidteather commented on September 26, 2024

You’re using python 2.7 to run the script when it is only designed for python 3.x. Try
python3 bot.py

from backpacktf-api.

Enzotoy avatar Enzotoy commented on September 26, 2024

Thank, it's work, But we can't get the buy oder and sell oder price?

from backpacktf-api.

davidteather avatar davidteather commented on September 26, 2024

Can you show me the code you’re running?

from backpacktf-api.

Enzotoy avatar Enzotoy commented on September 26, 2024

image

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!")

from backpacktf-api.

davidteather avatar davidteather commented on September 26, 2024

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

from backpacktf-api.

Enzotoy avatar Enzotoy commented on September 26, 2024

Thank but with your code, i have this error now
image
i tried the code on a VM but i get the same error

from backpacktf-api.

davidteather avatar davidteather commented on September 26, 2024

Try to run

pip install requests_oauthlib

If that doesn’t work try

pip3 install requests_oauthlib

from backpacktf-api.

Enzotoy avatar Enzotoy commented on September 26, 2024

Thank you it's work ! i have api access error but i think i can resolve them alone (i think xd)
Nice job

from backpacktf-api.

davidteather avatar davidteather commented on September 26, 2024

No problem if you’ve got any more issues just comment somewhere

from backpacktf-api.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.