xbox-api 0.1.1 → 0.1.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a9799eca21451dc50be15e540c1e2af8f27c638
4
- data.tar.gz: 7547068dd904d54af98f4573c3415d22f1f35434
3
+ metadata.gz: 556883a313fed3ffff480c84788280ae39975a02
4
+ data.tar.gz: 65bfcd1d7f96474cffdfb4cdef84de0c3fb34bf4
5
5
  SHA512:
6
- metadata.gz: 418a667bbafffff28a9cc230f644e87c7f28b0a14aa9fc5ecfdf0985cc2b9b82bbf33a0f4fe117cad3329fd11fa80aa5e1f7c5e07dd2991a745c396d8cd2ded7
7
- data.tar.gz: bbc4add68e63d9c4507c9630f65879bd526b902530a464fad22467243a1460802878003e77f85604925d75aae6ff437a33ddb5dceab94b411d3c0d9e7484f7d8
6
+ metadata.gz: 5661c09c4cdb9a6bf8fe38100f748acdd822dd1497562916819a4cff147265a5cab84d1370fe15804e10f7576b7b079f5ddd48eab6b9c2b01489429b25d47984
7
+ data.tar.gz: 72c0ad144d9c6116e5a3ecb456ed4a08871e77558867b15458c3a01693c288d59942764dddc6cb97dce65804c15ff5f24659fce33b14225ebdf8c1871df4293f
data/README.md CHANGED
@@ -1,7 +1,16 @@
1
- # Desciption
1
+ [![Test Coverage](https://codeclimate.com/github/audibleblink/xbox-api/badges/coverage.svg)](https://codeclimate.com/github/audibleblink/xbox-api)
2
+ ![](https://circleci.com/gh/audibleblink/xbox-api.svg?style=shield&circle-token=:circle-token)
3
+ [![Code Climate](https://codeclimate.com/github/audibleblink/xbox-api/badges/gpa.svg)](https://codeclimate.com/github/audibleblink/xbox-api)
4
+
5
+
6
+ # Description
2
7
 
3
8
  This is a Ruby wrapper for the unofficial Xbox API located at http://xboxapi.com
4
9
 
10
+ #Installation
11
+
12
+ `gem install xbox-api`
13
+
5
14
  # Usage
6
15
 
7
16
  One must first create a client that is able to interface with the Xbox API.
@@ -27,7 +36,7 @@ logan.presence
27
36
  logan.gamercard
28
37
  ```
29
38
 
30
- The client also respond to `#calls_emaining`
39
+ The client also respond to `#calls_remaining`
31
40
 
32
41
  ```ruby
33
42
  live.calls_remaining
@@ -38,14 +47,15 @@ live.calls_remaining
38
47
 
39
48
  ### Currently Supported Endpoints
40
49
 
41
- | Endpoint | Name | Short Description |
50
+ | Endpoint | Method Name | Short Description |
42
51
  |--- |--- |--- |
43
- | /v2/{xuid}/profile | Profile | This is the Profile for a specified XUID|
44
- | /v2/{xuid}/gamercard | Gamercard | This is the Gamercard information for a specified XUID|
45
- | /v2/{xuid}/presence | Presence | This is the current presence information for a specified XUID|
46
- | /v2/{xuid}/activity | Activity | This is the current activity information for a specified XUID|
47
- | /v2/{xuid}/activity/recent | Recent Activity | This is the recent activity information for a specified XUID|
48
- | /v2/{xuid}/friends | Friends | This is the friends information for a specified XUID|
49
- | /v2/{xuid}/followers | Followers | This is the followers information for a specified XUID|
50
- | /v2/{xuid}/xbox360games | Xbox 360 Games | This is the Xbox 360 Games List for a specified XUID|
51
- | /v2/{xuid}/xboxonegames | Xbox ONE Games | This is the Xbox One Games List for a specified XUID|
52
+ | profile | /v2/{xuid}/profile | This is the Profile for a specified XUID|
53
+ | gamercard | /v2/{xuid}/gamercard | This is the Gamercard information for a specified XUID|
54
+ | presence | /v2/{xuid}/presence | This is the current presence information for a specified XUID|
55
+ | activity | /v2/{xuid}/activity | This is the current activity information for a specified XUID|
56
+ | recent_activity | /v2/{xuid}/activity/recent | This is the recent activity information for a specified XUID|
57
+ | friends | /v2/{xuid}/friends | This is the friends information for a specified XUID|
58
+ | followers | /v2/{xuid}/followers | This is the followers information for a specified XUID|
59
+ | xbox360games | /v2/{xuid}/xbox360games | This is the Xbox 360 Games List for a specified XUID|
60
+ | xboxonegames | /v2/{xuid}/xboxonegames | This is the Xbox One Games List for a specified XUID|
61
+ | game_clips | /v2/{xuid}/game-clips | This is the current collection of clips for a specified XUID|
data/Rakefile CHANGED
@@ -1,2 +1,7 @@
1
1
  #!/usr/bin/env rake
2
2
  require "bundler/gem_tasks"
3
+
4
+ desc 'Start IRB console with env loaded'
5
+ task :console do
6
+ exec "pry -r ./spec/support/console.rb"
7
+ end
@@ -11,7 +11,8 @@ module XboxApi
11
11
  :friends,
12
12
  :followers,
13
13
  :xbox360games,
14
- :xboxonegames
14
+ :xboxonegames,
15
+ :game_clips
15
16
  ]
16
17
 
17
18
  def initialize(gamertag, client)
@@ -22,7 +23,7 @@ module XboxApi
22
23
 
23
24
  ENDPOINTS.each do |action|
24
25
  define_method( action ) do
25
- endpoint = "#{xuid}/#{__method__}"
26
+ endpoint = "#{xuid}/#{__method__}".gsub("_", "-")
26
27
  client.fetch_body_and_parse( endpoint )
27
28
  end
28
29
  end
@@ -32,6 +33,15 @@ module XboxApi
32
33
  client.fetch_body_and_parse( endpoint )
33
34
  end
34
35
 
36
+ # TODO: These don't belong here
37
+ # [:messages, :recent_players].each do |action|
38
+ # define_method(action) do
39
+ # endpoint = __method__.to_s.gsub("_", "-")
40
+ # client.fetch_body_and_parse( endpoint )
41
+ # end
42
+ # end
43
+
44
+
35
45
  private
36
46
 
37
47
  attr_reader :client
@@ -1,5 +1,5 @@
1
1
  module XboxApi
2
2
  module Wrapper
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
data/spec/spec_helper.rb CHANGED
@@ -1,13 +1,10 @@
1
- # This file was generated by the `rspec --init` command. Conventionally, all
2
- # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
- # Require this file using `require "spec_helper"` to ensure that it is only
4
- # loaded once.
5
- #
6
- # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
7
-
1
+ require 'dotenv'; Dotenv.load
2
+ require 'codeclimate-test-reporter'; CodeClimate::TestReporter.start
8
3
  require 'xbox-api'
9
4
  require 'vcr'
10
5
  require 'fakeweb'
6
+ require 'vcr'
7
+
11
8
 
12
9
  RSpec.configure do |config|
13
10
  # config.run_all_when_everything_filtered = true
@@ -23,4 +20,5 @@ end
23
20
  VCR.configure do |config|
24
21
  config.cassette_library_dir = "spec/vcr"
25
22
  config.hook_into :fakeweb
23
+ config.ignore_hosts 'codeclimate.com'
26
24
  end
@@ -0,0 +1,4 @@
1
+ require_relative "../../lib/xbox-api.rb"
2
+ require 'dotenv'
3
+ Dotenv.load
4
+ client = XboxApi::Client.new(ENV["XBOX_TOKEN"])
@@ -33,15 +33,15 @@ http_interactions:
33
33
  cache-control:
34
34
  - no-cache
35
35
  date:
36
- - Tue, 20 Jan 2015 20:58:47 GMT
36
+ - Wed, 21 Jan 2015 04:33:48 GMT
37
37
  access-control-allow-origin:
38
38
  - "*"
39
39
  x-ratelimit-limit:
40
40
  - '120'
41
41
  x-ratelimit-remaining:
42
- - '87'
42
+ - '109'
43
43
  x-ratelimit-reset:
44
- - '74'
44
+ - '1572'
45
45
  access-control-allow-headers:
46
46
  - content-type, content-length, x-auth, accept-encoding, accept, user-agent,
47
47
  host, Origin, Access-Control-Allow-Origin, Access-Control-Request-Method,
@@ -50,5 +50,5 @@ http_interactions:
50
50
  encoding: UTF-8
51
51
  string: '{"xuid":2533274810770211,"gamerTag":"audibleBLiNK","gamertag":"audibleBLiNK"}'
52
52
  http_version: '1.1'
53
- recorded_at: Tue, 20 Jan 2015 20:58:46 GMT
53
+ recorded_at: Wed, 21 Jan 2015 04:33:48 GMT
54
54
  recorded_with: VCR 2.9.3
@@ -0,0 +1,99 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://xboxapi.com/v2/2533274810770211/friends
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ x-auth:
11
+ - e0662396178e32b0ea6c1f36c842a2b96b3bfb3d
12
+ accept-encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ accept:
15
+ - "*/*"
16
+ user-agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ server:
24
+ - nginx/1.6.2
25
+ content-type:
26
+ - application/json
27
+ transfer-encoding:
28
+ - chunked
29
+ connection:
30
+ - keep-alive
31
+ x-powered-by:
32
+ - PHP/5.5.20-1+deb.sury.org~trusty+1
33
+ cache-control:
34
+ - no-cache
35
+ date:
36
+ - Tue, 20 Jan 2015 22:42:53 GMT
37
+ access-control-allow-origin:
38
+ - "*"
39
+ x-ratelimit-limit:
40
+ - '120'
41
+ x-ratelimit-remaining:
42
+ - '120'
43
+ x-ratelimit-reset:
44
+ - '1028'
45
+ access-control-allow-headers:
46
+ - content-type, content-length, x-auth, accept-encoding, accept, user-agent,
47
+ host, Origin, Access-Control-Allow-Origin, Access-Control-Request-Method,
48
+ Access-Control-Request-Headers, X-Auth
49
+ body:
50
+ encoding: UTF-8
51
+ string: '[{"id":2533274842302526,"hostId":null,"Gamertag":"oh hai loganz","GameDisplayName":"oh
52
+ hai loganz","AppDisplayName":"oh hai loganz","Gamerscore":820,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=z951ykn43p4FqWbbFvR2Ec.8vbDhj8G2Xe7JngaTToBrrCmIEEXHC9UNrdJ6P7KI4AAOijCgOA3.jozKovAH9zRFHEwffNLq6cKn.CBjKhqnUlRZZ9fuHcFf3lrmzaAy&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=z951ykn43p4FqWbbFvR2Ec.8vbDhj8G2Xe7JngaTToBrrCmIEEXHC9UNrdJ6P7KI4AAOijCgOA3.jozKovAH9zRFHEwffNLq6cKn.CBjKhqnUlRZZ9fuHcFf3lrmzaAy&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
53
+ ","TenureLevel":5,"isSponsoredUser":false},{"id":2533274803765845,"hostId":null,"Gamertag":"theschoolmaster","GameDisplayName":"theschoolmaster","AppDisplayName":"theschoolmaster","Gamerscore":7490,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUeQDtobyN5xmswIs1qggzrwEeJVGKLMgFsWAbgyyoI74LYuVJxIOFv0MrEkaO61Iv4-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUeQDtobyN5xmswIs1qggzrwEeJVGKLMgFsWAbgyyoI74LYuVJxIOFv0MrEkaO61Iv4-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
54
+ ","TenureLevel":7,"isSponsoredUser":false},{"id":2533274872571947,"hostId":null,"Gamertag":"SuperPOG1141","GameDisplayName":"SuperPOG1141","AppDisplayName":"SuperPOG1141","Gamerscore":18620,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc8K0FhnzJZtaEaZXwvcl7qPLDteiBVkb3DwYqLcSsp9BqaFZAsa5_g5CnOHdq.EngQ-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc8K0FhnzJZtaEaZXwvcl7qPLDteiBVkb3DwYqLcSsp9BqaFZAsa5_g5CnOHdq.EngQ-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00020.json","TenureLevel":4,"isSponsoredUser":false},{"id":2533274807770274,"hostId":null,"Gamertag":"x
55
+ iTtzBoMBiNo x","GameDisplayName":"x iTtzBoMBiNo x","AppDisplayName":"x iTtzBoMBiNo
56
+ x","Gamerscore":7448,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=7OTVnZUMVj4OV2zUUGecWvn3U00nQQLfK7_kwpANoghkr4tXY45JAwdooeqRFuwcRBZZtbSkiQslUBbT57Rcc.a3Po23.SCa2uxj.u1LMWo_1nfpgZ4CYNWpaaxMUdM4_82e6ie9dmv02rydJX7aEf5fSIYRUQA3NgN7DLKpu4I-&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=7OTVnZUMVj4OV2zUUGecWvn3U00nQQLfK7_kwpANoghkr4tXY45JAwdooeqRFuwcRBZZtbSkiQslUBbT57Rcc.a3Po23.SCa2uxj.u1LMWo_1nfpgZ4CYNWpaaxMUdM4_82e6ie9dmv02rydJX7aEf5fSIYRUQA3NgN7DLKpu4I-&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00008.json","TenureLevel":6,"isSponsoredUser":false},{"id":2533274847825994,"hostId":null,"Gamertag":"Dani
57
+ Double Ds","GameDisplayName":"Dani Double Ds","AppDisplayName":"Dani Double
58
+ Ds","Gamerscore":15653,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=7OTVnZUMVj4OV2zUUGecWvn3U00nQQLfK7_kwpANoggogATsrUAFPn2iZ_XO19Vj6uTh5saoJnnMm3IXAuZ085AfKbWijr0WAC8hvLVF5WmAWwZz8fBx3tV4yKSp12xkF.D_ZTcptGY7uv6ptnudzeQj7jSgunm9cACav1WPJoY-&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=7OTVnZUMVj4OV2zUUGecWvn3U00nQQLfK7_kwpANoggogATsrUAFPn2iZ_XO19Vj6uTh5saoJnnMm3IXAuZ085AfKbWijr0WAC8hvLVF5WmAWwZz8fBx3tV4yKSp12xkF.D_ZTcptGY7uv6ptnudzeQj7jSgunm9cACav1WPJoY-&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00005.json","TenureLevel":5,"isSponsoredUser":false},{"id":2533274912486625,"hostId":null,"Gamertag":"SpewBucket88","GameDisplayName":"SpewBucket88","AppDisplayName":"SpewBucket88","Gamerscore":12090,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=7OTVnZUMVj4OV2zUUGecWvn3U00nQQLfK7_kwpANoggT.g9xB9sym4oixbLSFN2kky.NL8bP5pSYcOHqOq9_vZfp.sL6n6W3BAyhpnOs9v02sVLfzV5lmC4I1EqdsP.b39ev0DNi6jwmHbLZwryJ9vnO4laiWNsiTUabvjXybyM-&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=7OTVnZUMVj4OV2zUUGecWvn3U00nQQLfK7_kwpANoggT.g9xB9sym4oixbLSFN2kky.NL8bP5pSYcOHqOq9_vZfp.sL6n6W3BAyhpnOs9v02sVLfzV5lmC4I1EqdsP.b39ev0DNi6jwmHbLZwryJ9vnO4laiWNsiTUabvjXybyM-&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00020.json","TenureLevel":3,"isSponsoredUser":false},{"id":2533274803869438,"hostId":null,"Gamertag":"MikeSRT4","GameDisplayName":"MikeSRT4","AppDisplayName":"MikeSRT4","Gamerscore":8650,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=z951ykn43p4FqWbbFvR2Ec.8vbDhj8G2Xe7JngaTToBrrCmIEEXHC9UNrdJ6P7KIFXxmxGDtE9Vkd62rOpb7Jfjp41ictdNtXjbMaooZruc_vXk6Y4fDsZ5AnD0PY9sq&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=z951ykn43p4FqWbbFvR2Ec.8vbDhj8G2Xe7JngaTToBrrCmIEEXHC9UNrdJ6P7KIFXxmxGDtE9Vkd62rOpb7Jfjp41ictdNtXjbMaooZruc_vXk6Y4fDsZ5AnD0PY9sq&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
59
+ ","TenureLevel":7,"isSponsoredUser":false},{"id":2533274797453412,"hostId":null,"Gamertag":"oh
60
+ hai pandaz","GameDisplayName":"oh hai pandaz","AppDisplayName":"oh hai pandaz","Gamerscore":20054,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUeLbboGbo0fo41rNtzv73xvcPU2so4V.StQr1hRKyxrSvkV4nhjWUH5mOf43pASX2U-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUeLbboGbo0fo41rNtzv73xvcPU2so4V.StQr1hRKyxrSvkV4nhjWUH5mOf43pASX2U-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
61
+ ","TenureLevel":8,"isSponsoredUser":false},{"id":2533274798467178,"hostId":null,"Gamertag":"adobo24","GameDisplayName":"adobo24","AppDisplayName":"adobo24","Gamerscore":28455,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=7OTVnZUMVj4OV2zUUGecWvn3U00nQQLfK7_kwpANogitHh2lKiCF_0pDYSg0gO90GHAvpuUxGxLKlUUNrk2fCG45BjQbdKCR7BDygirtH3xIEFTqj6pZ_m7b8ZlTaW_0Huk7xGAEzsBPdKs3ichzZg--&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=7OTVnZUMVj4OV2zUUGecWvn3U00nQQLfK7_kwpANogitHh2lKiCF_0pDYSg0gO90GHAvpuUxGxLKlUUNrk2fCG45BjQbdKCR7BDygirtH3xIEFTqj6pZ_m7b8ZlTaW_0Huk7xGAEzsBPdKs3ichzZg--&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00004.json","TenureLevel":7,"isSponsoredUser":false},{"id":2533274874814710,"hostId":null,"Gamertag":"CaliGirlStuck","GameDisplayName":"CaliGirlStuck","AppDisplayName":"CaliGirlStuck","Gamerscore":510,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc_PNk3SEMIDq8raz86BwP4ub2YXsNsg6OxAC7fxdwIZ29mSqNOWszUF3J7Kcq1Z2Lc-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc_PNk3SEMIDq8raz86BwP4ub2YXsNsg6OxAC7fxdwIZ29mSqNOWszUF3J7Kcq1Z2Lc-&background=0xababab&format=png","AccountTier":"Silver","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
62
+ ","TenureLevel":0,"isSponsoredUser":false},{"id":2533274891520875,"hostId":null,"Gamertag":"zentrified","GameDisplayName":"zentrified","AppDisplayName":"zentrified","Gamerscore":435,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUeQDtobyN5xmswIs1qggzrwbD8vt3La05OHAYcIyhKKuqlo01fMoqmHrUvRzztXRqM-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUeQDtobyN5xmswIs1qggzrwbD8vt3La05OHAYcIyhKKuqlo01fMoqmHrUvRzztXRqM-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
63
+ ","TenureLevel":3,"isSponsoredUser":false},{"id":2533274917638090,"hostId":null,"Gamertag":"iHitchSlap","GameDisplayName":"iHitchSlap","AppDisplayName":"iHitchSlap","Gamerscore":155,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc.ivVd2ymk45aOd2l_9V2dR8.oZOiFOTIrX88WOsL5tj4TxGqdOozZuRwxqRq74f2c-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc.ivVd2ymk45aOd2l_9V2dR8.oZOiFOTIrX88WOsL5tj4TxGqdOozZuRwxqRq74f2c-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
64
+ ","TenureLevel":2,"isSponsoredUser":false},{"id":2533274809404621,"hostId":null,"Gamertag":"operatorIsaac","GameDisplayName":"operatorIsaac","AppDisplayName":"operatorIsaac","Gamerscore":10200,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=z951ykn43p4FqWbbFvR2Ec.8vbDhj8G2Xe7JngaTToBrrCmIEEXHC9UNrdJ6P7KIFXxmxGDtE9Vkd62rOpb7JUmtCXTwDTlK3UzFTrgEfKJkEr.I5BEum2MHdRtAlbhJ&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=z951ykn43p4FqWbbFvR2Ec.8vbDhj8G2Xe7JngaTToBrrCmIEEXHC9UNrdJ6P7KIFXxmxGDtE9Vkd62rOpb7JUmtCXTwDTlK3UzFTrgEfKJkEr.I5BEum2MHdRtAlbhJ&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00011.json","TenureLevel":5,"isSponsoredUser":false},{"id":2533274807702232,"hostId":null,"Gamertag":"editfilm","GameDisplayName":"editfilm","AppDisplayName":"editfilm","Gamerscore":18775,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc8uHo14OwLV0UY78DtAF0xsLIjrQciGhBvl5gf3TQJGnlfpYz9oniTINqER9n1Gca4-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc8uHo14OwLV0UY78DtAF0xsLIjrQciGhBvl5gf3TQJGnlfpYz9oniTINqER9n1Gca4-&background=0xababab&format=png","AccountTier":"Silver","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00019.json","TenureLevel":0,"isSponsoredUser":false},{"id":2533274794492396,"hostId":null,"Gamertag":"WhiteM0nkey","GameDisplayName":"WhiteM0nkey","AppDisplayName":"WhiteM0nkey","Gamerscore":12745,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=z951ykn43p4FqWbbFvR2Ec.8vbDhj8G2Xe7JngaTToBrrCmIEEXHC9UNrdJ6P7KIwuPiuIs6TLDV4WsQAGzSwnpF.Ws8PCaSrE_Lg3iFYX34YrNDQVDwUtzAcX.MdWQB&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=z951ykn43p4FqWbbFvR2Ec.8vbDhj8G2Xe7JngaTToBrrCmIEEXHC9UNrdJ6P7KIwuPiuIs6TLDV4WsQAGzSwnpF.Ws8PCaSrE_Lg3iFYX34YrNDQVDwUtzAcX.MdWQB&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00014.json","TenureLevel":8,"isSponsoredUser":false},{"id":2533274963171483,"hostId":null,"Gamertag":"G0DzGuillotine","GameDisplayName":"G0DzGuillotine","AppDisplayName":"G0DzGuillotine","Gamerscore":1915,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUcGaSSK.zcgvM1Ugm2MhVcyKbVhbha8EEpuEd2LPVyLB8HmD.xyge86_yWAwJQ7Cs8-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUcGaSSK.zcgvM1Ugm2MhVcyKbVhbha8EEpuEd2LPVyLB8HmD.xyge86_yWAwJQ7Cs8-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00002.json","TenureLevel":2,"isSponsoredUser":false},{"id":2533274799585379,"hostId":null,"Gamertag":"iiM
65
+ bLacK","GameDisplayName":"iiM bLacK","AppDisplayName":"iiM bLacK","Gamerscore":21163,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUchPq0cBsonKgUIJuN9sjQeFi5pYIo9Kkoo3BUO6SqT9S1YjdStvRfEURfcEPch1wM-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUchPq0cBsonKgUIJuN9sjQeFi5pYIo9Kkoo3BUO6SqT9S1YjdStvRfEURfcEPch1wM-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
66
+ ","TenureLevel":7,"isSponsoredUser":false},{"id":2533274814934853,"hostId":null,"Gamertag":"thingsomething","GameDisplayName":"thingsomething","AppDisplayName":"thingsomething","Gamerscore":9423,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc_H0xsxOyEXWcF9F5SnxH.deikb4ww2MEji0baauGJmGNUWW7ka8H5mjWY5SK0ABzs-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc_H0xsxOyEXWcF9F5SnxH.deikb4ww2MEji0baauGJmGNUWW7ka8H5mjWY5SK0ABzs-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00011.json","TenureLevel":6,"isSponsoredUser":false},{"id":2533274878136093,"hostId":null,"Gamertag":"The
67
+ CA Sniper","GameDisplayName":"The CA Sniper","AppDisplayName":"The CA Sniper","Gamerscore":6125,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUdPcYGuYNcQLWo5cMgSlN5YoR3e8J8dPi.UUjMsf3fTIcpbarQpwu8g3r973aK3tB4-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUdPcYGuYNcQLWo5cMgSlN5YoR3e8J8dPi.UUjMsf3fTIcpbarQpwu8g3r973aK3tB4-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
68
+ ","TenureLevel":3,"isSponsoredUser":false},{"id":2533274854697040,"hostId":null,"Gamertag":"The13lazinAsian","GameDisplayName":"The13lazinAsian","AppDisplayName":"The13lazinAsian","Gamerscore":8235,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc88GJG5jDwLU3E8.dZ567wmheDwRNz41tFURcAHOhNtpKseN1wBk77MiH2o1NEMD7E-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc88GJG5jDwLU3E8.dZ567wmheDwRNz41tFURcAHOhNtpKseN1wBk77MiH2o1NEMD7E-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00002.json","TenureLevel":5,"isSponsoredUser":false},{"id":2533274927362088,"hostId":null,"Gamertag":"DOM
69
+ D0M xBiBox","GameDisplayName":"DOM D0M xBiBox","AppDisplayName":"DOM D0M xBiBox","Gamerscore":3735,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc.Oa0vMbzEubQmFNknMkrXkJUB3f6NKgFFv8pPgJz56lN7VMLkl9mNK5u5wxZ0m0bI-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc.Oa0vMbzEubQmFNknMkrXkJUB3f6NKgFFv8pPgJz56lN7VMLkl9mNK5u5wxZ0m0bI-&background=0xababab&format=png","AccountTier":"Silver","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
70
+ ","TenureLevel":0,"isSponsoredUser":false},{"id":2533274864352473,"hostId":null,"Gamertag":"K00PA
71
+ 1337","GameDisplayName":"K00PA 1337","AppDisplayName":"K00PA 1337","Gamerscore":11985,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc924wdQ.yPaooj4OcCfCY_nFlwcj7fxAR0_3p.5gWKuCco.gv74hCe0Y9YwyzoxSFQ-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc924wdQ.yPaooj4OcCfCY_nFlwcj7fxAR0_3p.5gWKuCco.gv74hCe0Y9YwyzoxSFQ-&background=0xababab&format=png","AccountTier":"Silver","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
72
+ ","TenureLevel":0,"isSponsoredUser":false},{"id":2533274820458863,"hostId":null,"Gamertag":"andrewigo","GameDisplayName":"andrewigo","AppDisplayName":"andrewigo","Gamerscore":4075,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUeQDtobyN5xmswIs1qggzrwHN4v9_SHrGKrhvaq2ioP54.FzrFjBkxy0mPcx5y93Gw-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUeQDtobyN5xmswIs1qggzrwHN4v9_SHrGKrhvaq2ioP54.FzrFjBkxy0mPcx5y93Gw-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
73
+ ","TenureLevel":6,"isSponsoredUser":false},{"id":2533274878326649,"hostId":null,"Gamertag":"AvengingFatez","GameDisplayName":"AvengingFatez","AppDisplayName":"AvengingFatez","Gamerscore":2605,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUcBpaXuJg9fmOENXXeNo3ggH1fx0iHDNXMAuy6CbpzCTe.C2AYQMhE0Xk8QD1JpdPA-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUcBpaXuJg9fmOENXXeNo3ggH1fx0iHDNXMAuy6CbpzCTe.C2AYQMhE0Xk8QD1JpdPA-&background=0xababab&format=png","AccountTier":"Silver","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
74
+ ","TenureLevel":0,"isSponsoredUser":false},{"id":2533274880236898,"hostId":null,"Gamertag":"Cycloptimus","GameDisplayName":"Cycloptimus","AppDisplayName":"Cycloptimus","Gamerscore":3030,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUeqgTjzIAGfGdWzj.yAhJicV8OFpv.UOfPrwsx0lX_Dvy7IXkRaxZIYkZrbKbvL8fU-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUeqgTjzIAGfGdWzj.yAhJicV8OFpv.UOfPrwsx0lX_Dvy7IXkRaxZIYkZrbKbvL8fU-&background=0xababab&format=png","AccountTier":"Silver","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
75
+ ","TenureLevel":0,"isSponsoredUser":false},{"id":2533274931640282,"hostId":null,"Gamertag":"MrFEEney1003","GameDisplayName":"MrFEEney1003","AppDisplayName":"MrFEEney1003","Gamerscore":1520,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUeQDtobyN5xmswIs1qggzrwzPt8y.z3BRVgBnx2Aw8HGbnCjPFnOJ1FbTgZ0Jl7CS8-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUeQDtobyN5xmswIs1qggzrwzPt8y.z3BRVgBnx2Aw8HGbnCjPFnOJ1FbTgZ0Jl7CS8-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
76
+ ","TenureLevel":2,"isSponsoredUser":false},{"id":2533274818490153,"hostId":null,"Gamertag":"Rec916","GameDisplayName":"Rec916","AppDisplayName":"Rec916","Gamerscore":1670,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc.bm8J5EY3M6pnXkF2pqccyMh7XEPLYvEZ94e03_SD8ZvItnXA3U6O3whY7ebJ78O4-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc.bm8J5EY3M6pnXkF2pqccyMh7XEPLYvEZ94e03_SD8ZvItnXA3U6O3whY7ebJ78O4-&background=0xababab&format=png","AccountTier":"Silver","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
77
+ ","TenureLevel":0,"isSponsoredUser":false},{"id":2533274792059990,"hostId":null,"Gamertag":"Whoa
78
+ Danny Boy","GameDisplayName":"Whoa Danny Boy","AppDisplayName":"Whoa Danny
79
+ Boy","Gamerscore":8700,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc.JErGVvNuuxnEkSdNaym6jEpztfCwehH6CnbSSp65uwlgjZOg8luy.bl_VpYm0HIA-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc.JErGVvNuuxnEkSdNaym6jEpztfCwehH6CnbSSp65uwlgjZOg8luy.bl_VpYm0HIA-&background=0xababab&format=png","AccountTier":"Silver","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
80
+ ","TenureLevel":0,"isSponsoredUser":false},{"id":2533274870092839,"hostId":null,"Gamertag":"Nash8o","GameDisplayName":"Nash8o","AppDisplayName":"Nash8o","Gamerscore":12263,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUcGcbapzm6Z6xfXB72xEdbVk6FPXjIsP4qyKF8jK6sWAWtjHWsVD2HH7.WkJ5qiKH8-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUcGcbapzm6Z6xfXB72xEdbVk6FPXjIsP4qyKF8jK6sWAWtjHWsVD2HH7.WkJ5qiKH8-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
81
+ ","TenureLevel":4,"isSponsoredUser":false},{"id":2627099782654297,"hostId":null,"Gamertag":"Noelq","GameDisplayName":"Noelq","AppDisplayName":"Noelq","Gamerscore":24545,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUfHAFNe62CCtq0AIGQRps2LadFzEUPVOUbtqXTDhKLQ486hEeHHBX4XSqrGGDlg94o-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUfHAFNe62CCtq0AIGQRps2LadFzEUPVOUbtqXTDhKLQ486hEeHHBX4XSqrGGDlg94o-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00011.json","TenureLevel":9,"isSponsoredUser":false},{"id":2533274859220397,"hostId":null,"Gamertag":"CaptAmerica7737","GameDisplayName":"CaptAmerica7737","AppDisplayName":"CaptAmerica7737","Gamerscore":3945,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc.WGS11_L88SfZS5tFZtJexVcVaOOxwb89_rKK.vBNsSWx0.DlWsP76BKmJpY8nghY-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc.WGS11_L88SfZS5tFZtJexVcVaOOxwb89_rKK.vBNsSWx0.DlWsP76BKmJpY8nghY-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
82
+ ","TenureLevel":4,"isSponsoredUser":false},{"id":2533274850080220,"hostId":null,"Gamertag":"JDROBIN042163","GameDisplayName":"JDROBIN042163","AppDisplayName":"JDROBIN042163","Gamerscore":2415,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc.XsSyGfGYn7mpgcANLjEx8RVeDj0mldoZUGGjX1CYSNEsE.a6fy0QCvybwoFpK7zw-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc.XsSyGfGYn7mpgcANLjEx8RVeDj0mldoZUGGjX1CYSNEsE.a6fy0QCvybwoFpK7zw-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
83
+ ","TenureLevel":5,"isSponsoredUser":false},{"id":2533274794194205,"hostId":null,"Gamertag":"AlienJason
84
+ Lee","GameDisplayName":"AlienJason Lee","AppDisplayName":"AlienJason Lee","Gamerscore":12593,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc92FHMxDGPEmp_JAlHKGvLhyeJFajFk6e4QjVuJpkVl.AIYFcf9j5Wxf0L1q1GEmdE-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc92FHMxDGPEmp_JAlHKGvLhyeJFajFk6e4QjVuJpkVl.AIYFcf9j5Wxf0L1q1GEmdE-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00002.json","TenureLevel":6,"isSponsoredUser":false},{"id":2533274792721146,"hostId":null,"Gamertag":"xWHYSOSIRIUSx","GameDisplayName":"xWHYSOSIRIUSx","AppDisplayName":"xWHYSOSIRIUSx","Gamerscore":13521,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUcQHaZUVnF9dAKAFL4RNnHUodclKJ3a0hgRKCDA82XBEnOQ3zStRC43sfQejqrbkH4-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUcQHaZUVnF9dAKAFL4RNnHUodclKJ3a0hgRKCDA82XBEnOQ3zStRC43sfQejqrbkH4-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
85
+ ","TenureLevel":8,"isSponsoredUser":false},{"id":2533274838034528,"hostId":null,"Gamertag":"BUCKNESS
86
+ on 3","GameDisplayName":"BUCKNESS on 3","AppDisplayName":"BUCKNESS on 3","Gamerscore":20664,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUdwfnEk4ZnS_DZV4UXtpKtAsYCC7buEBeybbiz73z3X.agiIfibZPA.4y6GOug0Kzk-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUdwfnEk4ZnS_DZV4UXtpKtAsYCC7buEBeybbiz73z3X.agiIfibZPA.4y6GOug0Kzk-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
87
+ ","TenureLevel":4,"isSponsoredUser":false},{"id":2533274814278270,"hostId":null,"Gamertag":"Davids
88
+ Shadow","GameDisplayName":"Davids Shadow","AppDisplayName":"Davids Shadow","Gamerscore":3050,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc.ZmJ0tVQGuscBYzDb4uI0ucUCvoWuo6kwEf4oXVttcsECpjxXkCz_aiKZQL9EbcOA-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc.ZmJ0tVQGuscBYzDb4uI0ucUCvoWuo6kwEf4oXVttcsECpjxXkCz_aiKZQL9EbcOA-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
89
+ ","TenureLevel":7,"isSponsoredUser":false},{"id":2533274808193178,"hostId":null,"Gamertag":"Chiefy
90
+ Spartan","GameDisplayName":"Chiefy Spartan","AppDisplayName":"Chiefy Spartan","Gamerscore":19278,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUd_7kWc25fB_N9Kyeg8CGxlAQcmk7kipPC2sfblltQ03lhBrKiplmsT4VscItrvM9w-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUd_7kWc25fB_N9Kyeg8CGxlAQcmk7kipPC2sfblltQ03lhBrKiplmsT4VscItrvM9w-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
91
+ ","TenureLevel":7,"isSponsoredUser":false},{"id":2533274811001838,"hostId":null,"Gamertag":"Bangkok
92
+ Dave","GameDisplayName":"Bangkok Dave","AppDisplayName":"Bangkok Dave","Gamerscore":2590,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc9bphBRa4mAZIV4E4b8a7.MdXlb4kVzK5zN2umMC6CGbc8ZavOoCqYMA6zcFtnZZRE-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc9bphBRa4mAZIV4E4b8a7.MdXlb4kVzK5zN2umMC6CGbc8ZavOoCqYMA6zcFtnZZRE-&background=0xababab&format=png","AccountTier":"Silver","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
93
+ ","TenureLevel":0,"isSponsoredUser":false},{"id":2533274826525097,"hostId":null,"Gamertag":"LynchoE","GameDisplayName":"LynchoE","AppDisplayName":"LynchoE","Gamerscore":2295,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUeQDtobyN5xmswIs1qggzrwNt__swVhGzPOm8SvUW6W18JmGLWp4BxOLZJO4KJkFH0-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=mHGRD8KXEf2sp2LC58XhBQKNl2IWRp.J.q8mSURKUUeQDtobyN5xmswIs1qggzrwNt__swVhGzPOm8SvUW6W18JmGLWp4BxOLZJO4KJkFH0-&background=0xababab&format=png","AccountTier":"Silver","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
94
+ ","TenureLevel":0,"isSponsoredUser":false},{"id":2533274811418502,"hostId":null,"Gamertag":"Germanic
95
+ Ogre","GameDisplayName":"Germanic Ogre","AppDisplayName":"Germanic Ogre","Gamerscore":11392,"GameDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc.87uHqq6SD6G4V1UNTmK74GFLofW5Gt90gYFWoxSQRSgqvNcD2t5a5LzTHwLur0cY-&background=0xababab&format=png","AppDisplayPicRaw":"http:\/\/images-eds.xboxlive.com\/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc.87uHqq6SD6G4V1UNTmK74GFLofW5Gt90gYFWoxSQRSgqvNcD2t5a5LzTHwLur0cY-&background=0xababab&format=png","AccountTier":"Gold","XboxOneRep":"GoodPlayer","PreferredColor":"http:\/\/dlassets.xboxlive.com\/public\/content\/ppl\/colors\/00000.json
96
+ ","TenureLevel":7,"isSponsoredUser":false}]'
97
+ http_version: '1.1'
98
+ recorded_at: Tue, 20 Jan 2015 22:42:53 GMT
99
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,55 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://xboxapi.com/v2/2533274810770211/presence
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ x-auth:
11
+ - e0662396178e32b0ea6c1f36c842a2b96b3bfb3d
12
+ accept-encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ accept:
15
+ - "*/*"
16
+ user-agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ server:
24
+ - nginx/1.6.2
25
+ content-type:
26
+ - application/json
27
+ transfer-encoding:
28
+ - chunked
29
+ connection:
30
+ - keep-alive
31
+ x-powered-by:
32
+ - PHP/5.5.20-1+deb.sury.org~trusty+1
33
+ cache-control:
34
+ - no-cache
35
+ date:
36
+ - Wed, 21 Jan 2015 04:33:49 GMT
37
+ access-control-allow-origin:
38
+ - "*"
39
+ x-ratelimit-limit:
40
+ - '120'
41
+ x-ratelimit-remaining:
42
+ - '108'
43
+ x-ratelimit-reset:
44
+ - '1571'
45
+ access-control-allow-headers:
46
+ - content-type, content-length, x-auth, accept-encoding, accept, user-agent,
47
+ host, Origin, Access-Control-Allow-Origin, Access-Control-Request-Method,
48
+ Access-Control-Request-Headers, X-Auth
49
+ body:
50
+ encoding: UTF-8
51
+ string: '{"xuid":2533274810770211,"state":"Online","devices":[{"type":"XboxOne","titles":[{"id":714681658,"name":"Home","placement":"Background","state":"Active","lastModified":"2015-01-21T04:31:07.4410859Z"},{"id":875417719,"name":"Call
52
+ of Duty\u00ae: Advanced Warfare","placement":"Full","state":"Active","lastModified":"2015-01-21T04:31:07.4410859Z"}]}]}'
53
+ http_version: '1.1'
54
+ recorded_at: Wed, 21 Jan 2015 04:33:49 GMT
55
+ recorded_with: VCR 2.9.3
@@ -1,11 +1,10 @@
1
1
  require 'spec_helper'
2
- require 'vcr'
3
2
 
4
3
  describe XboxApi do
5
4
 
6
- let(:token) {File.read('./.env').chomp.split(" ")[1]}
7
- let(:client) {XboxApi::Client.new(token)}
8
- let(:gamer) { VCR.use_cassette("gamer") { client.gamer("audibleblink") } }
5
+ let(:token) { ENV['XBOX_TOKEN'] }
6
+ let(:client) { XboxApi::Client.new(token) }
7
+ let(:gamer) { VCR.use_cassette("gamer") { client.gamer("audibleblink") } }
9
8
 
10
9
  describe XboxApi::Client do
11
10
 
@@ -28,6 +27,7 @@ let(:gamer) { VCR.use_cassette("gamer") { client.gamer("audibleblink") } }
28
27
  end
29
28
  end
30
29
 
30
+
31
31
  describe XboxApi::Gamer do
32
32
 
33
33
  context "#presence" do
@@ -39,19 +39,12 @@ let(:gamer) { VCR.use_cassette("gamer") { client.gamer("audibleblink") } }
39
39
  end
40
40
  end
41
41
 
42
- xit "returns 'Online' for an online player" do
42
+ it "returns 'Online' for an online player" do
43
43
  VCR.use_cassette("presence_online") do
44
44
  response = gamer.presence
45
45
  expect(response[:state]).to eq "Online"
46
46
  end
47
47
  end
48
-
49
- xit "returns 'Away' for an away player" do
50
- VCR.use_cassette("presence_away") do
51
- response = gamer.presence
52
- expect(response[:state]).to eq "Away"
53
- end
54
- end
55
48
  end
56
49
 
57
50
  context "#xuid" do
@@ -59,6 +52,17 @@ let(:gamer) { VCR.use_cassette("gamer") { client.gamer("audibleblink") } }
59
52
  expect(gamer.xuid).to_not be nil
60
53
  end
61
54
  end
55
+
56
+ context "#friends" do
57
+ it "returns an array of friends" do
58
+ VCR.use_cassette("friends") do
59
+ response = gamer.friends
60
+ expect(response).to be_a_kind_of Array
61
+ expect(response.first).to be_a_kind_of Hash
62
+ expect(response.first.has_key?(:id)).to be true
63
+ end
64
+ end
65
+ end
62
66
  end
63
67
 
64
68
  end
data/xbox-api.gemspec CHANGED
@@ -19,4 +19,6 @@ Gem::Specification.new do |gem|
19
19
  gem.add_development_dependency("rspec")
20
20
  gem.add_development_dependency("vcr")
21
21
  gem.add_development_dependency("fakeweb")
22
+ gem.add_development_dependency("dotenv")
23
+ gem.add_development_dependency("codeclimate-test-reporter")
22
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xbox-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Flores
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-20 00:00:00.000000000 Z
11
+ date: 2015-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -66,6 +66,34 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: dotenv
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: codeclimate-test-reporter
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
69
97
  description: An Xbox API wrapper that allows one to fetch profiles, games, achievements
70
98
  and friends data
71
99
  email:
@@ -76,7 +104,6 @@ extra_rdoc_files: []
76
104
  files:
77
105
  - ".gitignore"
78
106
  - ".rspec"
79
- - ".travis.yml"
80
107
  - Gemfile
81
108
  - LICENSE
82
109
  - README.md
@@ -86,10 +113,12 @@ files:
86
113
  - lib/xbox-api/gamer.rb
87
114
  - lib/xbox-api/version.rb
88
115
  - spec/spec_helper.rb
116
+ - spec/support/console.rb
89
117
  - spec/vcr/calls_remaining.yml
118
+ - spec/vcr/friends.yml
90
119
  - spec/vcr/gamer.yml
91
- - spec/vcr/presence.yml
92
120
  - spec/vcr/presence_offline.yml
121
+ - spec/vcr/presence_online.yml
93
122
  - spec/xbox_api_spec.rb
94
123
  - xbox-api.gemspec
95
124
  homepage: https://github.com/audibleblink/xbox-api
@@ -111,14 +140,16 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
140
  version: '0'
112
141
  requirements: []
113
142
  rubyforge_project:
114
- rubygems_version: 2.2.2
143
+ rubygems_version: 2.4.5
115
144
  signing_key:
116
145
  specification_version: 4
117
146
  summary: A Ruby wrapper for the xboxapi.com API
118
147
  test_files:
119
148
  - spec/spec_helper.rb
149
+ - spec/support/console.rb
120
150
  - spec/vcr/calls_remaining.yml
151
+ - spec/vcr/friends.yml
121
152
  - spec/vcr/gamer.yml
122
- - spec/vcr/presence.yml
123
153
  - spec/vcr/presence_offline.yml
154
+ - spec/vcr/presence_online.yml
124
155
  - spec/xbox_api_spec.rb
data/.travis.yml DELETED
@@ -1,13 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.1.2
4
-
5
- env:
6
- - DISPLAY=:99.0
7
-
8
- # uncomment this line if your project needs to run something other than `rake`:
9
- script: "bundle exec rspec spec"
10
-
11
- branches:
12
- only:
13
- - master
@@ -1,109 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://xboxapi.com/v2/xuid/audibleblink
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- x-auth:
11
- - e0662396178e32b0ea6c1f36c842a2b96b3bfb3d
12
- accept-encoding:
13
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
- accept:
15
- - "*/*"
16
- user-agent:
17
- - Ruby
18
- response:
19
- status:
20
- code: 200
21
- message: OK
22
- headers:
23
- server:
24
- - nginx/1.6.2
25
- content-type:
26
- - text/plain; charset=UTF-8
27
- transfer-encoding:
28
- - chunked
29
- connection:
30
- - keep-alive
31
- vary:
32
- - Accept-Encoding
33
- x-powered-by:
34
- - PHP/5.5.20-1+deb.sury.org~trusty+1
35
- cache-control:
36
- - no-cache
37
- date:
38
- - Tue, 20 Jan 2015 20:58:48 GMT
39
- access-control-allow-origin:
40
- - "*"
41
- x-ratelimit-limit:
42
- - '120'
43
- x-ratelimit-remaining:
44
- - '86'
45
- x-ratelimit-reset:
46
- - '72'
47
- access-control-allow-headers:
48
- - content-type, content-length, x-auth, accept-encoding, accept, user-agent,
49
- host, Origin, Access-Control-Allow-Origin, Access-Control-Request-Method,
50
- Access-Control-Request-Headers, X-Auth
51
- content-encoding:
52
- - gzip
53
- body:
54
- encoding: UTF-8
55
- string: '2533274810770211'
56
- http_version: '1.1'
57
- recorded_at: Tue, 20 Jan 2015 20:58:47 GMT
58
- - request:
59
- method: get
60
- uri: https://xboxapi.com/v2/2533274810770211/presence
61
- body:
62
- encoding: US-ASCII
63
- string: ''
64
- headers:
65
- x-auth:
66
- - e0662396178e32b0ea6c1f36c842a2b96b3bfb3d
67
- accept-encoding:
68
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
69
- accept:
70
- - "*/*"
71
- user-agent:
72
- - Ruby
73
- response:
74
- status:
75
- code: 200
76
- message: OK
77
- headers:
78
- server:
79
- - nginx/1.6.2
80
- content-type:
81
- - application/json
82
- transfer-encoding:
83
- - chunked
84
- connection:
85
- - keep-alive
86
- x-powered-by:
87
- - PHP/5.5.20-1+deb.sury.org~trusty+1
88
- cache-control:
89
- - no-cache
90
- date:
91
- - Tue, 20 Jan 2015 20:58:49 GMT
92
- access-control-allow-origin:
93
- - "*"
94
- x-ratelimit-limit:
95
- - '120'
96
- x-ratelimit-remaining:
97
- - '85'
98
- x-ratelimit-reset:
99
- - '71'
100
- access-control-allow-headers:
101
- - content-type, content-length, x-auth, accept-encoding, accept, user-agent,
102
- host, Origin, Access-Control-Allow-Origin, Access-Control-Request-Method,
103
- Access-Control-Request-Headers, X-Auth
104
- body:
105
- encoding: UTF-8
106
- string: '{"xuid":2533274810770211,"state":"Offline"}'
107
- http_version: '1.1'
108
- recorded_at: Tue, 20 Jan 2015 20:58:48 GMT
109
- recorded_with: VCR 2.9.3