Giter Site home page Giter Site logo

davidteather / backpacktf-api Goto Github PK

View Code? Open in Web Editor NEW
14.0 3.0 7.0 107 KB

Unoffical Backpack.tf wrapper in python

Home Page: https://davidteather.github.io/BackpackTf-API/

License: MIT License

Python 100.00%
python python3 backpack backpacktf tf2 team-fortress trading-bot trading bot steam tf2-prices hacktoberfest

backpacktf-api's Issues

Did you know how to make this

Hello @davidteather ,

i made this code and i want than the result of listings can be write on the listing.json but i don't know how to make this,
I tried to dump the result but nothing work :/

the code :
image

Ty for help

Cant create listing

{'listings': [{'error': 'Notice: Undefined index: body'}]}
Also no parameter to define unusual effect

i need the Elevated access?

hello again (sorry :( )
i got a new things,
image
it is normal? i asked for a elevated acces yesterday but i didn't get respond

search_classifieds attribute

import requests
import json
from BackpackTF import Currency
api = Currency(apikey="myapi")

key = api.search_classifieds(intent="Sell", page_size=1, page=0, fold=0, item_name="Mann Co. Supply Crate Key", tradable=1, craftable=1, australium=0, quality="Unique")
print(key)

Im getting an error:
AttributeError: 'Currency' object has no attribute 'search_classifieds'

I'm new to programming so don't blame me please if this mistake is obvious

Caching filters because BackpackTF is dumb

I'm on university internet so maybe that's it, but this website is protected by captcha.

If it's not for you pass the use_cached=False parameter into the MiscUtils constructor

miscUtils = miscUtils(use_cached=False)

itemPrice library error when API key is not valid

The result should be verified when calling item_price: the variable success is not defined in the case when jsondata['response']['success'] != 1.

Traceback:

price = api.itemPrice(name="Digit Divulger", quality="Unique", craftable=1, tradable=1)
  File "/home/a/.local/share/virtualenvs/steam-49pLg0Sz/lib/python3.7/site-packages/BackpackTF/currency.py", line 118, in item_price
    if success:
UnboundLocalError: local variable 'success' referenced before assignment

@davidteather

See: https://github.com/nbordin/BackpackTf-API/blob/master/BackpackTF/currency.py

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.