README.md in starcall-0.4.0 vs README.md in starcall-0.5.0
- old
+ new
@@ -120,10 +120,51 @@
Details about profile icons and where they can be found on the sprite sheets.
## Endpoints
The below commands require a Riot API key.
It needs to be saved as an ENV var and called `RIOT_API_KEY`
+### SummonerV4
+#### `by_account_id`
+[Riot API Documentation](https://developer.riotgames.com/apis#summoner-v4/GET_getByAccountId)
+
+Required fields:
+- `encrypted_summoner_id` (The encrypted summoner ID for the summoner you want to know about.)
+- `region` (The region that the summoner is in.)
+
+Optional fields:
+None
+
+#### `by_summoner_name`
+[Riot API Documentation](https://developer.riotgames.com/apis#summoner-v4/GET_getBySummonerName)
+
+Required fields:
+- `summoner_name` (The summoner name for the summoner you want to know about.)
+- `region` (The region that the summoner is in.)
+
+Optional fields:
+None
+
+#### `by_puuid`
+[Riot API Documentation](https://developer.riotgames.com/apis#summoner-v4/GET_getByPUUID)
+
+Required fields:
+- `puuid` (The puuid for the summoner you want to know about.)
+- `region` (The region that the summoner is in.)
+
+Optional fields:
+None
+
+#### `by_summoner_id`
+[Riot API Documentation](https://developer.riotgames.com/apis#summoner-v4/GET_getBySummonerId)
+
+Required fields:
+- `summoner_id` (The summoner id for the summoner you want to know about.)
+- `region` (The region that the summoner is in.)
+
+Optional fields:
+None
+
### Champion Mastery V4
#### `summoner`
[Riot API Documentation](https://developer.riotgames.com/apis#champion-mastery-v4/GET_getAllChampionMasteries)
@@ -154,9 +195,58 @@
- None
Optional fields:
- `region` (By default it will assume `euw`, if you want to know for a specific region, you can pass that in.)
+### Clash V3
+#### `clash_by_summoner_id`
+[Riot API Documentation](https://developer.riotgames.com/apis#clash-v1/GET_getPlayersBySummoner)
+
+Required fields:
+- `encrypted_summoner_id` (the encrypted summoner ID for the summoner you want to know about.)
+- `region` (The region that the summoner is in.)
+
+Optional fields:
+- None
+
+#### `clash_by_team_id`
+[Riot API Documentation](https://developer.riotgames.com/apis#clash-v1/GET_getTeamById)
+
+Required fields:
+- `team_id` (the team ID for the team you want to know about.)
+- `region` (The region that the team is in.)
+
+Optional fields:
+- None
+
+#### `clash_tournaments`
+[Riot API Documentation](https://developer.riotgames.com/apis#clash-v1/GET_getTournaments)
+
+Required fields:
+- `region` (The region that you want to know about.)
+
+Optional fields:
+- None
+
+#### `clash_tournaments_by_team_id`
+[Riot API Documentation](https://developer.riotgames.com/apis#clash-v1/GET_getTournaments)
+
+Required fields:
+- `team_id` (the team ID for the team you want to know about.)
+- `region` (The region that the team is in.)
+
+Optional fields:
+- None
+
+#### `clash_tournaments_by_tournament_id`
+[Riot API Documentation](https://developer.riotgames.com/apis#clash-v1/GET_getTournaments)
+
+Required fields:
+- `tournament_id` (the tournament ID for the tournament you want to know about.)
+- `region` (The region that the tournament is in.)
+
+Optional fields:
+- None
## Development
After checking out the repo, run `bundle install` to install dependencies.