README.md in taric-2.0.0.pre.alpha vs README.md in taric-2.0.0.pre.alpha.1
- old
+ new
@@ -42,13 +42,11 @@
- [x] CHAMPION-MASTERY-V3
- [x] LEAGUE-V3
- [x] LOL-STATUS-V3
- [x] MASTERIES-V3
- [x] MATCH-V3
-- [x] RUNES-V3
- [x] SPECTATOR-V3
-- [x] ~~STATIC-DATA-V3~~ removed by Riot
- [x] SUMMONER-V3
## Configuration
> "With clarity."
@@ -69,11 +67,11 @@
require 'faraday'
require 'typhoeus'
require 'typhoeus/adapters/faraday'
Taric.configure! do |config|
- config.api_key = 'whatever_key_rito_assigned_you'
+ config.api_key = 'RGAPI-858c3371-e85d-4036-95ff-1427224cd1f2'
config.adapter = :typhoeus # default is Faraday.default_adapter
end
```
This approach is best if you want to configure other things (documentation to come)
@@ -117,24 +115,19 @@
champion_masteries_for_summoner = client.champion_masteries(summoner_id: 21066).body
champion_mastery_for_summoner = client.champion_mastery(summoner_id:21066, champion_id:89).body
mastery_score_for_summoner = client.champion_mastery_score(summoner_id: 21066).body
```
-
### Champion
```ruby
-client.champion(id: )
+client.champion.champion_rotations.body
```
-```ruby
-client.champions
-```
-
### Current Game
```ruby
-response = client.current_game(summoner_id: 21066)
+response = client.current_game(summoner_id: 21066).body
```
### Featured Games
```ruby