Skip to content

3.0.0

Compare
Choose a tag to compare
@gigobyte gigobyte released this 28 Mar 16:05
· 464 commits to master since this release

MAJOR RELEASE

General

+ Add better types
+ Add detailed map result parsing 
+ Add more tests
+ Add better Cloudflare block detection
+ Add `id` property to all relevant responses
+ Add error handling for no internet connection
! Change enum values for `GameMap` (previously `MapSlug`)
! Change `rating` property into `rating1` and `rating2` depending on which system is used
# Fix parsing of `_se/_ce` maps in matches before 2014
# Fix event `id` parsing in multiple endpoints

getMatch

+ Add `playerOfTheMatch` property
! Change enum values for Veto type
# Fix statsId pointing to a single map ID if the match was BO1
# Fix veto process not being parsed for old matches
# Fix odds not being parsed correctly for certain providers
- Remove `highlightedPlayer` property, now it's `highlightedPlayers` because HLTV shows 2 players
- Remove `additionalInfo` property
- Remove `oddsCommunity` property, now it's part of the `odds` array

getEvent

+ Add `numberOfTeams` property because TBA teams are excluded from the `teams` array
+ Add `highlights` property
+ Add `news` property
! Change `location` property to include full location name

getEvents

+ Add `prizePoolMin` and `prizePoolMax` options
+ Add `attendingTeamIds` and `attendingPlayerIds` options
+ Add ongoing events to result
- Remove grouping by month and `month` option

getOngoingEvents

  • Removed

getResults

  • Removed

getMatchMapStats

! Change `playerStats` property, now `id` and `name` are inside of a `player` object
! Change `matchID` property to `matchId`
# Fix buggy handling of 0 in stats

getMatchStats

+ Add `mapStatIds` property
+ Add `result` property
+ Add `performanceOverview` property

getMatchesStats

+ Add `delayBetweenPageRequests` option
! Change `id` to `mapStatsId`

getPlayer

+ Add `news` property
+ Add `teams` property
# Fix `statistics` returning a 0 for each stat if the player has no stats

getPlayerRanking

- Remove `country` property

getPlayerStats

+ Add `individualStatistics` property
+ Add `matches` property
# Fix `statistics` property for players that stopped playing before 2016 and renamed to `overviewStatistics`

getTeam

+ Add `news` property
! Change `players` to include more info
! Change `location` property to `country`
- Remove `coverImage` property because teams have no cover images anymore
- Remove `recentResults` property
- Remove `bigArchievements` property

getTeamStats

+ Add `id` and `name` property
+ Add `matchType`, `rankingFilter`, `maps` and `bestOfX` options
! Change `matches` to include more info
# Fix matches parsing