Skip to content

Commit

Permalink
Fixed merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Petersil1998 committed Jul 4, 2023
2 parents 8aa8b63 + 436b8bf commit b05f671
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Thresh

Thresh is an Object-Oriented Java Library, which takes over the Communication
with the League of Legends API. It supports In-Memory caching and uses a (blocking) Rate Limiter. It makes retrieving Summoner Data, Match History,
Thresh is an Object-Oriented Java Library, which takes over the Communication with the League of Legends API. It supports In-Memory caching and uses a (blocking) Rate Limiter. It makes retrieving Summoner Data, Match History,
etc. much easier. For Teamfight Tactics take a look at [Spatula](https://github.com/Petersil1998/Spatula)

## Usage
Expand Down Expand Up @@ -96,7 +95,7 @@ Now Thresh is ready and set up!
League challengers = LoLRanked.getChallengerLeague(RankedQueue.SOLO_DUO, Platform.EUW);
for(LeagueEntry leagueEntry: challengers.getEntries()) {
// Get all players and their LP
Summoner player = Summoner.getSummonerByID(leagueEntry.getSummonerId(), Platform.EUW)
Summoner player = Summoner.getSummonerByID(leagueEntry.getSummonerId(), Platform.EUW);
int playerLp = leagueEntry.getLeaguePoints();
}

Expand Down Expand Up @@ -148,7 +147,7 @@ Now Thresh is ready and set up!
}
}
```
The Match History Filter can have those values:
The Match History Filter can have the following values:

| Key | Description | Type |
|-----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|
Expand All @@ -157,8 +156,9 @@ Now Thresh is ready and set up!
| queue | Queue ID. Works mutually inclusive with **type**. [QueueTypes](https://github.com/Petersil1998/Thresh-Java/blob/master/src/main/java/net/petersil98/thresh/collection/QueueTypes.java) contains all valid queues | int |
| type | Type of a Match. Works mutually inclusive with **queue** | String |
| start | The offset of the first Match entry | int |
| count | The Amount of Matches entries to return. Has to be between 0 and 100 | int |
**Note**: *All values need to be passed as **Strings** in the filter*
| count | The Amount of Matches entries to return. Has to be between 0 and 100 | int |

**Note**: *All values need to be passed as **Strings** in the filter*


- **Collections**
Expand All @@ -175,4 +175,4 @@ Now Thresh is ready and set up!
- RuneStyles (Precision, Domination, Sorcery, Resolve, Inspiration)
- Summoner Spells

#### Feel free to give Feedback and add suggestions on how this library can be improved. <br>Thank you for using Thresh, you're awesome!
### Feel free to give Feedback and add suggestions on how this library can be improved. <br>Thank you for using Thresh, you're awesome!

0 comments on commit b05f671

Please sign in to comment.