steam_api 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/.rspec +2 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +31 -0
  7. data/Rakefile +2 -0
  8. data/lib/steam_api/client.rb +47 -0
  9. data/lib/steam_api/i_player_service.rb +65 -0
  10. data/lib/steam_api/i_steam_user.rb +53 -0
  11. data/lib/steam_api/i_steam_user_stats.rb +52 -0
  12. data/lib/steam_api/urls.rb +116 -0
  13. data/lib/steam_api/version.rb +4 -0
  14. data/lib/steam_api.rb +14 -0
  15. data/spec/fixtures/vcr_cassettes/client_get.yml +38 -0
  16. data/spec/fixtures/vcr_cassettes/get_badges.yml +77 -0
  17. data/spec/fixtures/vcr_cassettes/get_badges_private.yml +38 -0
  18. data/spec/fixtures/vcr_cassettes/get_community_badge_progress.yml +64 -0
  19. data/spec/fixtures/vcr_cassettes/get_community_badge_progress_private.yml +64 -0
  20. data/spec/fixtures/vcr_cassettes/get_community_badge_progress_specific_badge.yml +64 -0
  21. data/spec/fixtures/vcr_cassettes/get_friend_list_not_found.yml +46 -0
  22. data/spec/fixtures/vcr_cassettes/get_friend_list_private.yml +39 -0
  23. data/spec/fixtures/vcr_cassettes/get_friend_list_public.yml +92 -0
  24. data/spec/fixtures/vcr_cassettes/get_global_achievement_percentages_for_app.yml +230 -0
  25. data/spec/fixtures/vcr_cassettes/get_global_achievement_percentages_for_app_not_found.yml +39 -0
  26. data/spec/fixtures/vcr_cassettes/get_number_of_current_players.yml +37 -0
  27. data/spec/fixtures/vcr_cassettes/get_number_of_current_players_not_found.yml +36 -0
  28. data/spec/fixtures/vcr_cassettes/get_owned_games.yml +261 -0
  29. data/spec/fixtures/vcr_cassettes/get_owned_games_all_args.yml +1302 -0
  30. data/spec/fixtures/vcr_cassettes/get_owned_games_include_appinfo.yml +1286 -0
  31. data/spec/fixtures/vcr_cassettes/get_owned_games_include_played_free_games.yml +264 -0
  32. data/spec/fixtures/vcr_cassettes/get_owned_games_private.yml +38 -0
  33. data/spec/fixtures/vcr_cassettes/get_player_achievements.yml +205 -0
  34. data/spec/fixtures/vcr_cassettes/get_player_achievements_game_no_stats.yml +37 -0
  35. data/spec/fixtures/vcr_cassettes/get_player_achievements_private.yml +37 -0
  36. data/spec/fixtures/vcr_cassettes/get_player_achievements_user_not_found.yml +37 -0
  37. data/spec/fixtures/vcr_cassettes/get_player_bans_not_found.yml +36 -0
  38. data/spec/fixtures/vcr_cassettes/get_player_bans_public.yml +38 -0
  39. data/spec/fixtures/vcr_cassettes/get_player_bans_public_private.yml +40 -0
  40. data/spec/fixtures/vcr_cassettes/get_player_summaries_multiple.yml +50 -0
  41. data/spec/fixtures/vcr_cassettes/get_player_summaries_not_found.yml +36 -0
  42. data/spec/fixtures/vcr_cassettes/get_player_summaries_single.yml +44 -0
  43. data/spec/fixtures/vcr_cassettes/get_recently_played_games.yml +47 -0
  44. data/spec/fixtures/vcr_cassettes/get_recently_played_games_count.yml +44 -0
  45. data/spec/fixtures/vcr_cassettes/get_recently_played_games_private.yml +38 -0
  46. data/spec/fixtures/vcr_cassettes/get_schema_for_game.yml +1205 -0
  47. data/spec/fixtures/vcr_cassettes/get_schema_for_game_not_found.yml +39 -0
  48. data/spec/fixtures/vcr_cassettes/get_steam_level.yml +38 -0
  49. data/spec/fixtures/vcr_cassettes/get_steam_level_private.yml +38 -0
  50. data/spec/fixtures/vcr_cassettes/get_user_group_list_not_found.yml +46 -0
  51. data/spec/fixtures/vcr_cassettes/get_user_group_list_private.yml +37 -0
  52. data/spec/fixtures/vcr_cassettes/get_user_group_list_public.yml +39 -0
  53. data/spec/fixtures/vcr_cassettes/get_user_stats_for_game.yml +407 -0
  54. data/spec/fixtures/vcr_cassettes/get_user_stats_for_game_game_not_found.yml +39 -0
  55. data/spec/fixtures/vcr_cassettes/get_user_stats_for_game_private.yml +46 -0
  56. data/spec/fixtures/vcr_cassettes/get_user_stats_for_game_user_not_found.yml +39 -0
  57. data/spec/fixtures/vcr_cassettes/resolve_vanity_url_not_found.yml +36 -0
  58. data/spec/fixtures/vcr_cassettes/resolve_vanity_url_private.yml +37 -0
  59. data/spec/fixtures/vcr_cassettes/resolve_vanity_url_public.yml +37 -0
  60. data/spec/spec_helper.rb +98 -0
  61. data/spec/steam_api/client_spec.rb +30 -0
  62. data/spec/steam_api/i_player_service_spec.rb +127 -0
  63. data/spec/steam_api/i_steam_user_spec.rb +163 -0
  64. data/spec/steam_api/i_steam_user_stats_spec.rb +143 -0
  65. data/spec/steam_api/urls_spec.rb +36 -0
  66. data/spec/steam_api/version_spec.rb +7 -0
  67. data/spec/steam_api_spec.rb +0 -0
  68. data/steam_api.gemspec +28 -0
  69. metadata +263 -0
@@ -0,0 +1,36 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.steampowered.com/ISteamUser/GetPlayerBans/v1?key=<API_KEY>&steamids=67734658237465083465238745693
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - api.steampowered.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Thu, 30 Oct 2014 17:15:32 GMT
25
+ Expires:
26
+ - Thu, 30 Oct 2014 17:15:32 GMT
27
+ Content-Type:
28
+ - application/json; charset=UTF-8
29
+ Content-Length:
30
+ - '23'
31
+ body:
32
+ encoding: UTF-8
33
+ string: "{\n\t\"players\": [\n\n\t]\n\t\n}"
34
+ http_version:
35
+ recorded_at: Thu, 30 Oct 2014 17:15:34 GMT
36
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,38 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.steampowered.com/ISteamUser/GetPlayerBans/v1?key=<API_KEY>&steamids=76561197995163285
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - api.steampowered.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Thu, 30 Oct 2014 17:15:31 GMT
25
+ Expires:
26
+ - Thu, 30 Oct 2014 17:15:31 GMT
27
+ Content-Type:
28
+ - application/json; charset=UTF-8
29
+ Content-Length:
30
+ - '192'
31
+ body:
32
+ encoding: UTF-8
33
+ string: "{\n\t\"players\": [\n\t\t{\n\t\t\t\"SteamId\": \"76561197995163285\",\n\t\t\t\"CommunityBanned\":
34
+ false,\n\t\t\t\"VACBanned\": false,\n\t\t\t\"NumberOfVACBans\": 0,\n\t\t\t\"DaysSinceLastBan\":
35
+ 0,\n\t\t\t\"EconomyBan\": \"none\"\n\t\t}\n\t]\n\t\n}"
36
+ http_version:
37
+ recorded_at: Thu, 30 Oct 2014 17:15:32 GMT
38
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,40 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.steampowered.com/ISteamUser/GetPlayerBans/v1?key=<API_KEY>&steamids=76561197995163285,76561198002572492
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - api.steampowered.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Thu, 30 Oct 2014 17:15:31 GMT
25
+ Expires:
26
+ - Thu, 30 Oct 2014 17:15:31 GMT
27
+ Content-Type:
28
+ - application/json; charset=UTF-8
29
+ Content-Length:
30
+ - '363'
31
+ body:
32
+ encoding: UTF-8
33
+ string: "{\n\t\"players\": [\n\t\t{\n\t\t\t\"SteamId\": \"76561198002572492\",\n\t\t\t\"CommunityBanned\":
34
+ false,\n\t\t\t\"VACBanned\": false,\n\t\t\t\"NumberOfVACBans\": 0,\n\t\t\t\"DaysSinceLastBan\":
35
+ 0,\n\t\t\t\"EconomyBan\": \"none\"\n\t\t},\n\t\t{\n\t\t\t\"SteamId\": \"76561197995163285\",\n\t\t\t\"CommunityBanned\":
36
+ false,\n\t\t\t\"VACBanned\": false,\n\t\t\t\"NumberOfVACBans\": 0,\n\t\t\t\"DaysSinceLastBan\":
37
+ 0,\n\t\t\t\"EconomyBan\": \"none\"\n\t\t}\n\t]\n\t\n}"
38
+ http_version:
39
+ recorded_at: Thu, 30 Oct 2014 17:15:33 GMT
40
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,50 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=<API_KEY>&steamids=76561197995163285,76561198002572492
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - api.steampowered.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Thu, 30 Oct 2014 17:15:37 GMT
25
+ Expires:
26
+ - Thu, 30 Oct 2014 17:15:37 GMT
27
+ Content-Type:
28
+ - application/json; charset=UTF-8
29
+ Content-Length:
30
+ - '1572'
31
+ body:
32
+ encoding: UTF-8
33
+ string: "{\n\t\"response\": {\n\t\t\"players\": [\n\t\t\t{\n\t\t\t\t\"steamid\":
34
+ \"76561197995163285\",\n\t\t\t\t\"communityvisibilitystate\": 3,\n\t\t\t\t\"profilestate\":
35
+ 1,\n\t\t\t\t\"personaname\": \"yusef\",\n\t\t\t\t\"lastlogoff\": 1414644616,\n\t\t\t\t\"profileurl\":
36
+ \"http://steamcommunity.com/id/youda/\",\n\t\t\t\t\"avatar\": \"http://media.steampowered.com/steamcommunity/public/images/avatars/45/450a776d730958630478bf183e509d0fa0abc4ec.jpg\",\n\t\t\t\t\"avatarmedium\":
37
+ \"http://media.steampowered.com/steamcommunity/public/images/avatars/45/450a776d730958630478bf183e509d0fa0abc4ec_medium.jpg\",\n\t\t\t\t\"avatarfull\":
38
+ \"http://media.steampowered.com/steamcommunity/public/images/avatars/45/450a776d730958630478bf183e509d0fa0abc4ec_full.jpg\",\n\t\t\t\t\"personastate\":
39
+ 1,\n\t\t\t\t\"realname\": \"Yusef\",\n\t\t\t\t\"primaryclanid\": \"103582791434636960\",\n\t\t\t\t\"timecreated\":
40
+ 1198539183,\n\t\t\t\t\"personastateflags\": 0,\n\t\t\t\t\"loccountrycode\":
41
+ \"US\",\n\t\t\t\t\"locstatecode\": \"TX\",\n\t\t\t\t\"loccityid\": 3577\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"steamid\":
42
+ \"76561198002572492\",\n\t\t\t\t\"communityvisibilitystate\": 1,\n\t\t\t\t\"profilestate\":
43
+ 1,\n\t\t\t\t\"personaname\": \"blitzcat\",\n\t\t\t\t\"lastlogoff\": 1414209451,\n\t\t\t\t\"profileurl\":
44
+ \"http://steamcommunity.com/id/blitzcat/\",\n\t\t\t\t\"avatar\": \"http://media.steampowered.com/steamcommunity/public/images/avatars/73/738efa08adee0ee5ec7ef594a53b1fa04808c29d.jpg\",\n\t\t\t\t\"avatarmedium\":
45
+ \"http://media.steampowered.com/steamcommunity/public/images/avatars/73/738efa08adee0ee5ec7ef594a53b1fa04808c29d_medium.jpg\",\n\t\t\t\t\"avatarfull\":
46
+ \"http://media.steampowered.com/steamcommunity/public/images/avatars/73/738efa08adee0ee5ec7ef594a53b1fa04808c29d_full.jpg\",\n\t\t\t\t\"personastate\":
47
+ 0\n\t\t\t}\n\t\t]\n\t\t\n\t}\n}"
48
+ http_version:
49
+ recorded_at: Thu, 30 Oct 2014 17:15:39 GMT
50
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,36 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=<API_KEY>&steamids=67734658237465083465238745693
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - api.steampowered.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Thu, 30 Oct 2014 17:15:37 GMT
25
+ Expires:
26
+ - Thu, 30 Oct 2014 17:15:37 GMT
27
+ Content-Type:
28
+ - application/json; charset=UTF-8
29
+ Content-Length:
30
+ - '44'
31
+ body:
32
+ encoding: UTF-8
33
+ string: "{\n\t\"response\": {\n\t\t\"players\": [\n\n\t\t]\n\t\t\n\t}\n}"
34
+ http_version:
35
+ recorded_at: Thu, 30 Oct 2014 17:15:39 GMT
36
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,44 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=<API_KEY>&steamids=76561197995163285
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - api.steampowered.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Thu, 30 Oct 2014 17:15:37 GMT
25
+ Expires:
26
+ - Thu, 30 Oct 2014 17:15:37 GMT
27
+ Content-Type:
28
+ - application/json; charset=UTF-8
29
+ Content-Length:
30
+ - '906'
31
+ body:
32
+ encoding: UTF-8
33
+ string: "{\n\t\"response\": {\n\t\t\"players\": [\n\t\t\t{\n\t\t\t\t\"steamid\":
34
+ \"76561197995163285\",\n\t\t\t\t\"communityvisibilitystate\": 3,\n\t\t\t\t\"profilestate\":
35
+ 1,\n\t\t\t\t\"personaname\": \"yusef\",\n\t\t\t\t\"lastlogoff\": 1414644616,\n\t\t\t\t\"profileurl\":
36
+ \"http://steamcommunity.com/id/youda/\",\n\t\t\t\t\"avatar\": \"http://media.steampowered.com/steamcommunity/public/images/avatars/45/450a776d730958630478bf183e509d0fa0abc4ec.jpg\",\n\t\t\t\t\"avatarmedium\":
37
+ \"http://media.steampowered.com/steamcommunity/public/images/avatars/45/450a776d730958630478bf183e509d0fa0abc4ec_medium.jpg\",\n\t\t\t\t\"avatarfull\":
38
+ \"http://media.steampowered.com/steamcommunity/public/images/avatars/45/450a776d730958630478bf183e509d0fa0abc4ec_full.jpg\",\n\t\t\t\t\"personastate\":
39
+ 1,\n\t\t\t\t\"realname\": \"Yusef\",\n\t\t\t\t\"primaryclanid\": \"103582791434636960\",\n\t\t\t\t\"timecreated\":
40
+ 1198539183,\n\t\t\t\t\"personastateflags\": 0,\n\t\t\t\t\"loccountrycode\":
41
+ \"US\",\n\t\t\t\t\"locstatecode\": \"TX\",\n\t\t\t\t\"loccityid\": 3577\n\t\t\t}\n\t\t]\n\t\t\n\t}\n}"
42
+ http_version:
43
+ recorded_at: Thu, 30 Oct 2014 17:15:39 GMT
44
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,47 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.steampowered.com/IPlayerService/GetRecentlyPlayedGames/v1?count=0&key=<API_KEY>&steamid=76561197995163285
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - api.steampowered.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ X-Eresult:
24
+ - '1'
25
+ Date:
26
+ - Thu, 30 Oct 2014 17:15:02 GMT
27
+ Expires:
28
+ - Thu, 30 Oct 2014 17:15:02 GMT
29
+ Content-Type:
30
+ - application/json; charset=UTF-8
31
+ Content-Length:
32
+ - '810'
33
+ body:
34
+ encoding: UTF-8
35
+ string: "{\n\t\"response\": {\n\t\t\"total_count\": 3,\n\t\t\"games\": [\n\t\t\t{\n\t\t\t\t\"appid\":
36
+ 204300,\n\t\t\t\t\"name\": \"Awesomenauts\",\n\t\t\t\t\"playtime_2weeks\":
37
+ 697,\n\t\t\t\t\"playtime_forever\": 697,\n\t\t\t\t\"img_icon_url\": \"4996933171d0804bd0ceb7b9a0e224b3139d18ba\",\n\t\t\t\t\"img_logo_url\":
38
+ \"a2eba6157703c60bfcc199f06df5f1568c9835bb\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"appid\":
39
+ 730,\n\t\t\t\t\"name\": \"Counter-Strike: Global Offensive\",\n\t\t\t\t\"playtime_2weeks\":
40
+ 650,\n\t\t\t\t\"playtime_forever\": 42470,\n\t\t\t\t\"img_icon_url\": \"69f7ebe2735c366c65c0b33dae00e12dc40edbe4\",\n\t\t\t\t\"img_logo_url\":
41
+ \"d0595ff02f5c79fd19b06f4d6165c3fda2372820\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"appid\":
42
+ 40800,\n\t\t\t\t\"name\": \"Super Meat Boy\",\n\t\t\t\t\"playtime_2weeks\":
43
+ 2,\n\t\t\t\t\"playtime_forever\": 456,\n\t\t\t\t\"img_icon_url\": \"64eec20c9375e7473b964f0d0bc41d19f03add3b\",\n\t\t\t\t\"img_logo_url\":
44
+ \"70f084857297d5fdd96d019db3a990d6d9ec64f1\"\n\t\t\t}\n\t\t]\n\t\t\n\t}\n}"
45
+ http_version:
46
+ recorded_at: Thu, 30 Oct 2014 17:15:03 GMT
47
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,44 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.steampowered.com/IPlayerService/GetRecentlyPlayedGames/v1?count=2&key=<API_KEY>&steamid=76561197995163285
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - api.steampowered.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ X-Eresult:
24
+ - '1'
25
+ Date:
26
+ - Thu, 30 Oct 2014 17:15:02 GMT
27
+ Expires:
28
+ - Thu, 30 Oct 2014 17:15:02 GMT
29
+ Content-Type:
30
+ - application/json; charset=UTF-8
31
+ Content-Length:
32
+ - '567'
33
+ body:
34
+ encoding: UTF-8
35
+ string: "{\n\t\"response\": {\n\t\t\"total_count\": 3,\n\t\t\"games\": [\n\t\t\t{\n\t\t\t\t\"appid\":
36
+ 204300,\n\t\t\t\t\"name\": \"Awesomenauts\",\n\t\t\t\t\"playtime_2weeks\":
37
+ 697,\n\t\t\t\t\"playtime_forever\": 697,\n\t\t\t\t\"img_icon_url\": \"4996933171d0804bd0ceb7b9a0e224b3139d18ba\",\n\t\t\t\t\"img_logo_url\":
38
+ \"a2eba6157703c60bfcc199f06df5f1568c9835bb\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"appid\":
39
+ 730,\n\t\t\t\t\"name\": \"Counter-Strike: Global Offensive\",\n\t\t\t\t\"playtime_2weeks\":
40
+ 650,\n\t\t\t\t\"playtime_forever\": 42470,\n\t\t\t\t\"img_icon_url\": \"69f7ebe2735c366c65c0b33dae00e12dc40edbe4\",\n\t\t\t\t\"img_logo_url\":
41
+ \"d0595ff02f5c79fd19b06f4d6165c3fda2372820\"\n\t\t\t}\n\t\t]\n\t\t\n\t}\n}"
42
+ http_version:
43
+ recorded_at: Thu, 30 Oct 2014 17:15:05 GMT
44
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,38 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.steampowered.com/IPlayerService/GetRecentlyPlayedGames/v1?count=0&key=<API_KEY>&steamid=76561198002572492
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - api.steampowered.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ X-Eresult:
24
+ - '15'
25
+ Date:
26
+ - Thu, 30 Oct 2014 17:15:07 GMT
27
+ Expires:
28
+ - Thu, 30 Oct 2014 17:15:07 GMT
29
+ Content-Type:
30
+ - application/json; charset=UTF-8
31
+ Content-Length:
32
+ - '22'
33
+ body:
34
+ encoding: UTF-8
35
+ string: "{\n\t\"response\": {\n\n\t}\n}"
36
+ http_version:
37
+ recorded_at: Thu, 30 Oct 2014 17:15:09 GMT
38
+ recorded_with: VCR 2.9.3