You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
P.S. I am mainly pointing out where the problem is and not making PRs because I'd like to avoid setting up a development environment, but I might at some point to add some functionalities if you like.
The text was updated successfully, but these errors were encountered:
Thanks, I pushed an update that should have fixed the issue. Please check. However, we still do not have 100 % API compatibility with WakaTime, unfortunately. See #58.
This should also fix the CLI command --today used to show the status bar in IntelliJ IDEs
The other endpoint needed for the app to work properly would be the user endpoint. Right now it's using a dummy user with everything empty. (I could have a look at that if I have time and make a PR as it should be pretty straightforward to do, let me know)
Other endpoints aren't required as they are optional features.
Requesting
https://wakapi.dev/api/compat/wakatime/v1/users/current/summaries?start=2021-04-29&end=2021-04-29
returns:The official API will return one summary for the given day.
The problem definitely lies in this function:
wakapi/utils/date.go
Lines 70 to 83 in 331ace3
end
is wrong probably because the list of summaries produced is empty and it's not updated, but it should fix itself with the above:wakapi/models/compat/wakatime/v1/summaries.go
Lines 64 to 73 in 331ace3
This should also fix the CLI command
--today
used to show the status bar in IntelliJ IDEs (https://github.com/wakatime/wakatime/blob/e8deb156f1c2d26e5cf874da97f7b4354b3f5d20/wakatime/api.py#L165).P.S. I am mainly pointing out where the problem is and not making PRs because I'd like to avoid setting up a development environment, but I might at some point to add some functionalities if you like.
The text was updated successfully, but these errors were encountered: