Skip to content

Conversation

@syntaxaire
Copy link

@syntaxaire syntaxaire commented Aug 7, 2024

This PR converts the Clockify API client from synchronous to asynchronous operation.

This is done by replacing requests calls with async calls to httpx.

A matching branch should be merged for timekeeper when this PR is merged.

How to test this PR

A sandbox API key can be generated for testing by logging in as dev@ion8.net at https://developer.marketplace.cake.com, then using the "Log in as" button for the admin account shown in the sandbox user list. In that user's settings, click Advanced and generate a temporary API key. The code sample in the README will work with this key.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something for the future but we should replace the usage of Exception with a custom exception.

Copy link

@Mahesh209 Mahesh209 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything is now async as intended. I like the inclusion of the changelog and installation instructions.

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

Successfully merging this pull request may close these issues.

3 participants