Latest Comments

7 Total
a comment on the General Rambling The bang `cpp` is not properly working. 2 years and 4 months ago
`!cpp` is supposed to search cplusplus.com, but it searches cppreference.com.

`!cppr` and `!cppref` already search cppreference.com btw.
a reply to a comment on the Instant Answer Idea Steam Integration 3 years and 2 months ago
That looks great! I'll make a regex when I get home. I don't think they have an API though.
a reply to a comment on the Instant Answer Idea Steam Integration 3 years and 2 months ago
I was suggesting an API that covers the Steam store, not the inventory...
a reply to a comment on the Instant Answer Idea Steam Integration 3 years and 2 months ago
Why is my comment banned? http://imgur.com/kkmGqZF&gX6LkLS#1 (First image in the gallery shows that it is "shadowbanned" kinda).
a comment on the Instant Answer Idea Citation machine 3 years and 2 months ago
a reply to a comment on the Instant Answer Idea Steam Integration 3 years and 2 months ago
Yea it doesn't have a conversion to APPID from GAME NAME, which is the major problem here. We basically have to parse the duckduckgo search for the APPID. As i said before, the regex for finding it is "steam(?:*).com/app/(*)"
a reply to a comment on the Instant Answer Idea Steam Integration 3 years and 2 months ago
The part where it says free to play would be replaced with the cost of the game. The problem with the Steam website, is that games are sorted according to their proprietary APPID. This means Dota 2 is located at http://store.steampowered.com/app/570 and Team Fortress 2 is at http://store.steampowered.com/app/440. We could attempt to translate the name of the game into the ID, but the Steam API doesn't look like it has a function to deal with that.

To answer your second question, we will have to parse the webpage of the game, once the default duckduckgo search finds it. I can probably devise a regex script to find that. Here it is:
"steam(?:*).com/app/(*)"
Then we would go to http://store.steampowered.com/app/$1 and search for whatever would be in the picture. Price is at the regex "\Q<div class="game_purchase_price price">\E\n\t\t\t\t\t\t(+)\t\t\t\t\t\Q</div>\E"
« 1 »