Jump to content
wersady

Need help with backpack.tf API.

Recommended Posts

wersady    2
wersady

So I'm working on a trading bot and I'm trying to make it so it pulls an items highest buyer and lowest seller but I didn't see anything like that in the API index. Do they exists? And if so what would they be?

Share this post


Link to post
Share on other sites
A Delicious Cashew    1391
A Delicious Cashew

You can use the classifieds search API with your parameters and parse the results to get what you want

Share this post


Link to post
Share on other sites
TheVirtualEconomist    92
TheVirtualEconomist
1 hour ago, wersady said:

So I'm working on a trading bot and I'm trying to make it so it pulls an items highest buyer and lowest seller but I didn't see anything like that in the API index. Do they exists? And if so what would they be?

 

To prevent abuse from bots constantly undercutting each other, as far as I am aware the API does not provide that.

Share this post


Link to post
Share on other sites
Zeus_Junior    179
Zeus_Junior

The api doesnt have an endpoint that just gives you the Lowest seller and highest buyer, no. @TheVirtualEconomist

But like cashew said you can get it with the classifieds search api

Share this post


Link to post
Share on other sites
wersady    2
wersady
{
  "error": "access_denied",
  "message": "The resource owner or authorization server denied the request.",
  "hint": "Missing \"Authorization\" header"
}

It seems that the backpack API may not be available anymore, or something is just broken on there end.

Share this post


Link to post
Share on other sites
Nesquik Nibba™️ (✓)    25
Nesquik Nibba™️ (✓)

@TheVirtualEconomist

lol this has nothing to do with this thread but I love your videos FYI

 

Yeah I don't think the API does that, sorry.

Share this post


Link to post
Share on other sites
wersady    2
wersady

Turns out I'm just dumb and didn't get my API key.

Share this post


Link to post
Share on other sites
wersady    2
wersady

New problem: Whenever I try to authorize oauth, it asks for my bp.tf log in info, but when I put it in it just discards it and asks for it again. Any ideas?

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×