sc2ranks 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +9 -1
- data/VERSION +1 -1
- data/sc2ranks.gemspec +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -12,7 +12,7 @@ that you are requesting from.
|
|
12
12
|
|
13
13
|
sc2ranks = Sc2ranks.new('sc2.kelsin.net')
|
14
14
|
|
15
|
-
==
|
15
|
+
== Loading a Character
|
16
16
|
|
17
17
|
Right now the only api call implemented is the "Character with base team info"
|
18
18
|
call since it handles everything I need currently. Just use the character method
|
@@ -32,6 +32,14 @@ This will return an object with the following methods
|
|
32
32
|
+portrait+:: Portrait object with portrait data
|
33
33
|
+teams+:: An array of Team objects with team data
|
34
34
|
|
35
|
+
=== Battle.net Profile URL
|
36
|
+
|
37
|
+
This is what I've decided to use on my site in order for a user to point us to
|
38
|
+
their character. Sc2ranks isn't able to get character code information for new
|
39
|
+
users anymore so they have advised API users to not use character code. The
|
40
|
+
other way to look up a user is by battle.net id but I feel it's much easier for
|
41
|
+
a user to just copy their url instead of having them locate the id in there.
|
42
|
+
|
35
43
|
== Portrait Data
|
36
44
|
|
37
45
|
The portrait object contains the following fields
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
data/sc2ranks.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sc2ranks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 4
|
10
|
+
version: 0.1.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Christopher Giroir
|