1
0
Fork 0
mirror of https://github.com/SocksPls/hltv-api synced 2025-04-30 07:33:09 +00:00
Commit graph

38 commits

Author SHA1 Message Date
grantephross
1ce33609cc
Adds URL to get_matches()
Allows you to get matchid/match page url info out of the API for upcoming matches
2022-05-28 00:41:52 -05:00
edc36c1577 Fixes crash when requesting player info on player without a team 2021-01-19 02:34:54 +00:00
ae8333d43b get_match_info 2020-11-16 21:58:12 +00:00
8cbeac756e Added stats to get_player_info 2020-11-10 13:29:31 +00:00
1129edf35b Add ID, Name to get_players; created get_player_info 2020-11-10 13:03:59 +00:00
a18096ae43 Repaired get_matches for new layout 2020-07-29 16:14:53 +01:00
marsch2
aa58cd672c Working again. Fixed errors due to changed hltv layout and encoding errors in python 3.7 2019-02-21 18:05:17 +01:00
marsch2
162a1d42a4 Added get_resuts_by_date(date, date) function amd fixed the cloudflare error 2019-02-21 15:45:22 +01:00
David Silva
b0f36ea0f9 fix(main): get_players uses bodyshot-team now 2018-03-09 00:34:26 +01:00
David Silva
e2e20346ba fix(main): remove comments just to get some output 2018-01-07 03:11:29 +00:00
David Silva
50a7799c2c fix(main): teamscores are now int 2017-12-04 18:00:28 +01:00
David Silva
81e2a3d3d2 fix(main): small fix regarding results w/ featured events 2017-12-02 18:28:15 +01:00
David Silva
992334fe56 fix broken features due to changes on HLTV 2017-11-30 16:27:10 +01:00
b6d5146a2f Fixed the top20teams function (although it now returns 30 teams thanks to HLTVs updated site layout) 2017-07-14 19:44:26 +01:00
8f766ba7af Updated top5teams func for new site layout (rest coming soon) 2017-06-14 21:46:40 +01:00
Socks
dd4bece7a7 Comment on HLTVs updated team rankings 2017-03-22 15:00:28 +00:00
SecretlyTaco
467c003939 Apparently the match ID needs to serve the entire URL (thanks flanneljesus) 2016-09-18 21:09:53 +01:00
SecretlyTaco
e737d4235a matchids are now ints 2016-09-18 09:15:57 +01:00
SecretlyTaco
987313b43e get_results and get_matches now get the match ID 2016-09-18 09:12:29 +01:00
Sam
0caf06ce55 ints for ids and scores 2016-09-16 17:58:24 +01:00
SecretlyTaco
0c781fe66f Fixed last commit pls ignore 2016-09-16 17:48:38 +01:00
SecretlyTaco
278bb0cdfe Added pprint for easier to read output 2016-09-16 17:47:30 +01:00
060336f2aa Added get_results funciton 2016-09-16 13:35:51 +01:00
flannel jesus
1ebe3293e6 get_matches fix to return dictionary (incomplete) 2016-09-15 23:13:39 +01:00
Sam
208bca7443 general get_team_info function
we may not need get_players
2016-09-13 08:40:24 +01:00
SecretlyTaco
db57ac411b Added function to get a list of player names from a team ID. Needs some heavy rewriting 2016-09-13 04:59:12 +01:00
SecretlyTaco
27d0785ddb Updated top_players to get team name 2016-09-13 01:37:15 +01:00
SecretlyTaco
30404fbd8f Removed redundant code 2016-09-13 01:30:17 +01:00
Sam
bfec7b9706 fixed top_players function 2016-09-13 00:28:53 +01:00
SecretlyTaco
d5403101a9 Added function to get top 5 players in each category. Not yet formatted to JSON/Dict 2016-09-12 17:16:46 +01:00
SecretlyTaco
eb0c02a5f8 Not sure if this workaround is better or worse than the old one, but this one works for more people 2016-09-12 15:14:43 +01:00
flannel jesus
43c5156984 fix issue with some player links being in a different format 2016-09-12 09:27:24 +01:00
flannel jesus
fb9d645f6e seang@res exception 2016-09-12 09:02:34 +01:00
flannel jesus
0ab7925576 replaced parseint with python_utils.converters.to_int 2016-09-12 08:33:22 +01:00
flannel jesus
a87b1ef068 top20teams function
I'm using dictionaries because dictionaries are basically JSON already.
We can talk about this decision if you don't like it. I'm just assuming
we'll be exporting JSON at the end of this all.
2016-09-11 23:45:36 +01:00
flannel jesus
3fc083b5e3 refactored bs4 parsing pages 2016-09-11 23:45:31 +01:00
SecretlyTaco
b49abe92fa Made python3 compatible 2016-09-11 20:27:49 +01:00
SecretlyTaco
c01abc2213 Can get top 5 teams and match list 2016-09-11 20:22:48 +01:00