xDimGG / node-steamapi

An object-oriented Steam API wrapper for Node.js developers.
https://www.npmjs.com/package/steamapi
177 stars 43 forks source link

getServerList Always Returns 100 Results, Incorrect Variable Name #51

Closed joshuafhiggins closed 3 weeks ago

joshuafhiggins commented 1 month ago

Regardless of the number passed in for 'count', the function always returns 100 results. This is because the correct variable name in the Steam API request should actually be 'limit'. If limit is not specified, Steam will always return 100 results.

xDimGG commented 1 month ago

Thank you for bringing up the issue. You are correct. I've left a comment on your PR I can merge once that's corrected.

joshuafhiggins commented 3 weeks ago

Thank you for bringing up the issue. You are correct. I've left a comment on your PR I can merge once that's corrected.

I've fixed the docstring, its all set!