Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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?

share|improve this question
add comment

2 Answers 2

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

share|improve this answer
    
I'd find it easier, then, to register a domain from the Google AppEngine... it just seems very much like overkill. –  badp Oct 10 '11 at 18:46
    
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. –  r2d2rigo Oct 10 '11 at 19:04
    
Tturns out it's actually unnecessary to get any DNS name :) –  badp Oct 10 '11 at 19:19
add comment

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.

share|improve this answer
    
Thomas, when you'll eventually bother to answer this question, I'll happily delete this and accept yours. –  badp Oct 10 '11 at 19:17
    
Oh, and if you're curious, the Google Spredsheets formula I used is: =importxml("http://api.steampowered.com/IEconItems_440/GetPlayerItems/v0001/?St‌​eamID=76561197988192258&key=redacted&format=xml", "//item[id=434044620]//attribute[defindex=214]/value"). Adapt to your use case as necessary. –  badp Oct 10 '11 at 19:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.