SteamApi is a Ruby gem which allows you to interact with certain parts of the Steam Web API. It is a work in progress, as all methods are not completely implemented yet. Feel free to contribute :)


Add this line to your application's Gemfile:

gem 'steam_api'

And then execute:

$ bundle

Or install it yourself as:

$ gem install steam_api


All the methods to interact with the gem can be called after initializing a Client object.


client ="###INSERT STEAM API KEY HERE###")

This will allow you to call methods such as:


where the number that is passed in the user's SteamID64. In order to fetch a user's SteamID64, you can call:


where the string that is passed in is the Steam username. The SteamID64 is very important if you are wishing to gather information about certain users, many of the methods implement it.

For more information about other available methods, please refer to the documentation at

Information about the Steam API can be found at and


  1. Fork it ( )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request