backend
backend copied to clipboard
compare item timing to pro
The idea: to display (in chat or on stream) the time of purchase of an item compared to pro players/
Your idea If you buy Battle Fury on AM before 12:20, then the chance of winning will be 63%. opendota scenario api
this will be addressed when dota2protracker guy creates api for us 🆗

i like this idea a lot! great job
this will be addressed when dota2protracker guy creates api for us 🆗
data we might need:
we are grubby we pick antimage
we purchased battlefury the gametime is 13 minutes
heroId: number // 1-136 , current hero played
itemId: number // 1-2000 , item we want json info for
currentItems: number[] // [1,2,3,4]
GET d2pt.com/api/v1/timings?itemId=32&heroId=94¤tItems=[3,2,1,4]
JSON
{
avg: 13.5 // average time in game time / clock time seconds
winRate: .513, // for perentile
matches: 500, // total count of matches involved in the data provided
duration: 8, // in days
proNames: [ "Xcaliburye", "Gorgc", "Sumail", "Arteezy", "Puppey" ], // example pros that its compared to
}
speed: -43 // seconds, negative for slower, pos for faster than
currentGameTime: number // in seconds
the api is ready from plattttt just have to implement this
Can you only track items?







