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

Using umami-api instead of rebuilding an API client #1

Open
jakobbouchard opened this issue Jul 16, 2022 · 2 comments
Open

Using umami-api instead of rebuilding an API client #1

jakobbouchard opened this issue Jul 16, 2022 · 2 comments

Comments

@jakobbouchard
Copy link

Hey there! I made a Node API client for Umami (still quite WIP), and I was thinking since it already has basically all of the website-related functions done, it could be a good starting point for the CLI.

GitHub and NPM links.

@jakobbouchard
Copy link
Author

I now have all the available endpoints programmed in! There are probably some adjustments to make for it to be compatible with a CLI environment, but I'd be happy to help!

@jakobbouchard
Copy link
Author

Kinda related to this, how much time are the tokens valid for? I could add a way to create a client with a token only, if they're valid for long enough. Unless you are planning on adding API keys/access tokens instead.

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