2
\$\begingroup\$

I'm making a small spreadsheet that tracks the amount of kills my wrench's eaten over time in TF2. So far I've been manually copy pasting fields from the TF2 window, but hey, Steam does have some API I could consume, and Google Spreadsheets can consume XML too. This number I'm tracking should also be exposed by the GetPlayerItems route, so I should be golden!

Except the Steam Web API requires a domain-bound authorization key (!). I don't own docs.google.com, so I can't get one. Thus, I cannot make the API call.

Is there some kind of API proxy service for the Steam Web API so that I can query the API without having to buy a whole damn domain for such a simple use case? ...or do I have to resort to scraping middle men such as tf2b.com?

\$\endgroup\$
0

2 Answers 2

5
\$\begingroup\$

As Thomas McDonald noted, while your (one) API key is bound to a domain, your requests do actually not need to be made from there. So, no proxy service is necessary.

Since I already do have a blog, I registered an API with that site, and now I can happily consume the API without resorting to scraping.

\$\endgroup\$
2
  • \$\begingroup\$ Thomas, when you'll eventually bother to answer this question, I'll happily delete this and accept yours. \$\endgroup\$
    – badp
    Commented Oct 10, 2011 at 19:17
  • \$\begingroup\$ Oh, and if you're curious, the Google Spredsheets formula I used is: =importxml("http://api.steampowered.com/IEconItems_440/GetPlayerItems/v0001/?SteamID=76561197988192258&key=redacted&format=xml", "//item[id=434044620]//attribute[defindex=214]/value"). Adapt to your use case as necessary. \$\endgroup\$
    – badp
    Commented Oct 10, 2011 at 19:21
-1
\$\begingroup\$

You can request a key for a No-IP subdomain and do your petitions from your own computer.

\$\endgroup\$
3
  • \$\begingroup\$ I'd find it easier, then, to register a domain from the Google AppEngine... it just seems very much like overkill. \$\endgroup\$
    – badp
    Commented Oct 10, 2011 at 18:46
  • \$\begingroup\$ No-IP is free, and you only need a web server (like XAMPP) running in your computer. So you start your local server, update your No-IP account to point to your current IP, launch your local script and it's done. \$\endgroup\$
    – r2d2rigo
    Commented Oct 10, 2011 at 19:04
  • \$\begingroup\$ Tturns out it's actually unnecessary to get any DNS name :) \$\endgroup\$
    – badp
    Commented Oct 10, 2011 at 19:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .