Topic on Talk:XTools

Time Card API docs don't match reality

2
Summary by MusikAnimal

Docs updated

RoySmith (talkcontribs)

The docs say:

Get the relative distribution of edits made by a user based on hour of day and day of week. The returned values are a percentage of edits made relative to the other hours and days of the week. Hence the maximum value is 100 and this would represent that time and day that the user is most active.

But, the actual JSON output has elements like:


{"day_of_week":2,"hour":10,"value":13,"scale":0}


It's unclear how this maps to what the docs describe.

MusikAnimal (talkcontribs)

Docs are out of date! Thanks for pointing this out, I'll get that fixed. The numbers you see should be the total number of edits made during that hour and day of week.