Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for custom API URLs #5

Closed
muety opened this issue Oct 13, 2021 · 5 comments
Closed

Support for custom API URLs #5

muety opened this issue Oct 13, 2021 · 5 comments

Comments

@muety
Copy link

muety commented Oct 13, 2021

In order to support alternative WakaTime-compatible backends like wakapi (disclaimer: I am the author), it would be cool to be able to configure a custom API URL other than https://wakatime.com/api.

@bokub
Copy link
Owner

bokub commented Oct 13, 2021

I had no idea this existed!

However, what would be the use case? Exporting wakapi data to toggl?

@muety
Copy link
Author

muety commented Oct 13, 2021

Exactly!

@bokub
Copy link
Owner

bokub commented Oct 13, 2021

Are there any other WakaTime-compatible backends like wakapi, or is it the only one?

Do you want to make a PR, or would your prefer if I made it myself?

@muety
Copy link
Author

muety commented Oct 13, 2021

Are there any other WakaTime-compatible backends

Yes, there is also hakatime.

Do you want to make a PR, or would your prefer if I made it myself?

I'll do a PR!

@muety
Copy link
Author

muety commented Oct 14, 2021

I just realized that this requires a change in Wakapi first: muety/wakapi#261.
Wakapi does not yet implement the durations endpoint, but will in the future. I'll keep this issue open and come back to it once everything's set on Wakapi's site.

@bokub bokub closed this as completed Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants