davidteather / backpacktf-api Goto Github PK
View Code? Open in Web Editor NEWUnoffical Backpack.tf wrapper in python
Home Page: https://davidteather.github.io/BackpackTf-API/
License: MIT License
Unoffical Backpack.tf wrapper in python
Home Page: https://davidteather.github.io/BackpackTf-API/
License: MIT License
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 :/
Ty for help
{'listings': [{'error': 'Notice: Undefined index: body'}]}
Also no parameter to define unusual effect
When creating a listing it says access token is invalid
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
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)
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
See: https://github.com/nbordin/BackpackTf-API/blob/master/BackpackTF/currency.py
I keep get a 500 error on trying to access https://backpack.tf/developer/apps, so have they removed this functionality or where can I go to sign up for a client? I already have an API key.
I was trying to initialize the Account, it said in line 21 of Account.py that 'BackendApplicationClient' is not defined.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.