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

Extension uses api_url setting incorrectly #35

Open
wizzardx opened this issue Jun 6, 2024 · 0 comments
Open

Extension uses api_url setting incorrectly #35

wizzardx opened this issue Jun 6, 2024 · 0 comments

Comments

@wizzardx
Copy link

wizzardx commented Jun 6, 2024

According to the Wakatime docs:

https://wakatime.com/developers/

The API endpoint is over here:

https://api.wakatime.com/api/v1/

kate-wakatime seems to appends a v1 onto the end of whatever you use in the api_url setting, so for Kate Wakatime, I need to make the setting in ~/.wakatime.cfg, this, as a workaround:

api_url=https://api.wakatime.com/api

However, when I use PyCharm and Wakatime on the same PC, then PyCharm can't access Wakatimes APIs, it needs the V1 to be in the url. So in other words, PyCharm needs the endpoint that's listed on Wakatime's website, this:

https://api.wakatime.com/api/v1/

After doing that change, the wakatime extension in kate starts using v1/v1 api endpoints, which fails.

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

1 participant