dajk / hltv-api

DEPRECATED: An unofficial JSON api for popular CS:GO website hltv.org. Check available methods on https://hltv-api.vercel.app/
http://npm.im/hltv-api
MIT License
277 stars 59 forks source link

No date and bo3 problem at the 'results' #23

Closed PPBWoodBoy closed 2 years ago

PPBWoodBoy commented 5 years ago

Hi,

First of all, I´m very grateful that you´ve included a dedicated API for this scraper.

But I´ve got a problem with the "results". The Json doesn´t include the date when the match took place and the maps and scores for bo3´s are only:

maps: "bo3" team1 result: 2 team2 result: 1

would it be possible to make 3 single entrys for every map? or to include the maps and results like a csv? like:

maps: "inf,mrg,ovp" team1 result: 8,16,16 team2 result: 16,7,9

I would edit the files myself to get the result the way I want 🌝 but I´m not sure of what files to edit.

Thanks.

dajk commented 5 years ago

Hi @TomHaupt

Thanks for the issue, it's been a while since I added features, but I absolutely understand your requirements and I'd be more then happy to support that for you.

dajk commented 2 years ago

It's been a while since the issue is created, but I am preparing the version 3 and here you can find the current /results endpoint. Unfortunately maps is not possible to adjust since HLTV is not providing any information if teams play multiple maps, bo3 is all we have:

Screen Shot 2021-10-29 at 3 10 31 PM