HLTV

The unofficial HLTV Node.js API

MIT License

Downloads
890
Stars
376
Committers
40

Bot releases are hidden (Show)

HLTV - 3.5.0 Latest Release

Published by gigobyte about 1 year ago

  • Add rank property to team1 and team2 in getMatch
HLTV - 3.4.6

Published by gigobyte over 1 year ago

  • Fix streams parsing in getMatch
  • Fix odds parsing in getMatch
  • Fix prizeDistribution parsing in getEvent
  • Fix roundHistory parsing in getMatchMapStats
  • Fix playerStats parsing in getMatchMapStats
  • Fix leaveDate parsing in getPlayer
  • Fix image parsing in getPlayer
HLTV - 3.4.5

Published by gigobyte over 1 year ago

  • Use a different fetching library
HLTV - 3.4.4

Published by gigobyte over 1 year ago

  • Add de_anubis to GameMap | thanks @dbalders
HLTV - 3.4.3

Published by gigobyte almost 2 years ago

  • Fix forfeited map parsing in getMatch | thanks @dbalders
HLTV - 3.4.2

Published by gigobyte almost 2 years ago

  • Fix prizeDistribution parsing in getEvent
  • Fix getEventByName
  • Fix stream and odds parsing in getMatch
  • Fix demos parsing in getMatch | thanks @dbalders
  • Fix new team parsing in getTeamRanking | thanks @Drachenfalke12
  • Fix parsing 16-0 scores in getMatch | thanks @JuhoNieminen
HLTV - 3.4.1

Published by gigobyte over 2 years ago

  • Fix parsing in getStreams
  • Fix year type in endpoints that have such an option | thanks @MonsieurBibo
  • Add eventIds filter in getPlayerStats | thanks @MonsieurBibo
  • Add teamIds filter in getMatches | thanks @Revilum
HLTV - 3.4.0

Published by gigobyte over 2 years ago

  • Remove random useragent from requests
  • Fix event property in getMatches
  • Add stars filter to getResults
  • Add substitutes property in getTeamStats
HLTV - 3.3.3

Published by gigobyte about 3 years ago

  • Fix parsing in getPlayerRankings
  • Fix name parsing in getEvent
  • Fix playerOfTheMatch parsing in getMatch
  • Add better CloudFlare detection
HLTV - 3.3.2

Published by gigobyte over 3 years ago

  • Add support for de_ancient | thanks @c9win
HLTV - 3.3.1

Published by gigobyte over 3 years ago

  • Fix getResults again
HLTV - 3.3.0

Published by gigobyte over 3 years ago

  • Add getNews
  • Fix getEvent highlights parsing
  • Fix getEvent numberOfTeams and provide better highlight thumbnail
  • Fix getResults
HLTV - 3.2.1

Published by gigobyte over 3 years ago

  • Add featured property to getEvents
  • Fix location parsing in getEvents
  • Fix getEventByName | thanks @Revilum
  • Fix missing team and streams in getMatch
  • Fix overtime breaking getMatch
  • Fix getResults returning featured results
  • Remove legacy and mobile useragents to improve CloudFlare evasion
HLTV - 3.2.0

Published by gigobyte over 3 years ago

  • Add significance property to getMatch
  • Fix getMatchStats issue with 6 man rosters #443
  • Improve getMatch odd provider parsing
HLTV - 3.1.0

Published by gigobyte over 3 years ago

  • Add getResults
  • Fix getTeamStats with currentRosterOnly enabled
  • Fix vertigo parsing | thanks @Drachenfalke12
HLTV - 3.0.1

Published by gigobyte over 3 years ago

  • Fix getTeamRanking without options
HLTV - 3.0.0

Published by gigobyte over 3 years ago

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
HLTV - 2.25.1

Published by gigobyte over 3 years ago

  • Change random user agent library because the first one was too big (#424)
  • Added instagram property to getTeam | thanks @MonsieurBibo
HLTV - 2.25.0

Published by gigobyte over 3 years ago

  • Add a random user agent to every request
  • Add instagram property to getPlayer (#413) | thanks @MonsieurBibo
  • Add logo property to getEvent (#407) | thanks @Drachenfalke12
  • Add getMatches query parameters (#408) | thanks @JuhoNieminen
  • Fix player team
HLTV - 2.24.2

Published by gigobyte over 3 years ago

  • Fix TBD teams in getEvent (#406)