Compare commits

..

4 Commits

Author SHA1 Message Date
Alexander Corn
0ef652cbac 2.5.2 2015-07-10 16:24:59 -04:00
Alexander Corn
608377277c Sort market results by price to try to avoid duplicates 2015-07-10 16:24:42 -04:00
Alexander Corn
bcaa740b54 2.5.1 2015-07-10 16:01:10 -04:00
Alexander Corn
2674287b43 Make sure everything is in English 2015-07-10 16:00:56 -04:00
3 changed files with 6 additions and 1 deletions

View File

@@ -25,6 +25,8 @@ SteamCommunity.prototype.marketSearch = function(options, callback) {
qs.start = 0;
qs.count = 100;
qs.sort_column = 'price';
qs.sort_dir = 'asc';
performSearch(this.request, qs, [], callback);
};

View File

@@ -13,6 +13,9 @@ function SteamCommunity() {
this._jar = Request.jar();
this.request = Request.defaults({"jar": this._jar});
this.chatState = SteamCommunity.ChatState.Offline;
// English
this._jar.setCookie(Request.cookie('Steam_Language=english'), 'https://steamcommunity.com');
}
SteamCommunity.prototype.login = function(details, callback) {

View File

@@ -1,6 +1,6 @@
{
"name": "steamcommunity",
"version": "2.5.0",
"version": "2.5.2",
"description": "Provides an interface for logging into and interacting with the Steam Community website",
"keywords": ["steam", "steam community"],
"homepage": "https://github.com/DoctorMcKay/node-steamcommunity",