From 9d0ffbb4b06c476a6c8b09ec4ef025801ba0210d Mon Sep 17 00:00:00 2001 From: Grant Ephross <77510782+grantephross@users.noreply.github.com> Date: Wed, 13 Jul 2022 23:15:34 -0500 Subject: [PATCH] Adds get_match_countdown example --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 2fd3ee8..76c2c27 100644 --- a/README.md +++ b/README.md @@ -329,3 +329,10 @@ Provides an API for HLTV >>> hltv.get_results_by_date() [{'team2score': 16, 'team1': 'AGO', 'team2': 'G2', 'team1score': 8, 'map': 'Inferno', 'date': '2018-2-15', 'event': 'ESL Pro League Season 7 Europe'}, ... ] ``` + +## `get_match_countdown` + +```python +>>> hltv.get_match_countdown('https://www.hltv.org/matches/2357385/vertex-vs-aftershock-esl-challenger-melbourne-2022-oceania-closed-qualifier') +'2:18:48' +```