umami-software / api-client

API client for Umami Analytics
MIT License
14 stars 11 forks source link

How does the library (specifically env. variables) work? #18

Open digitaldrreamer opened 1 month ago

digitaldrreamer commented 1 month ago

Hello,

I'm kind of confused as to how to use the api-client with a self-hosted umami instance. It says in the docs that these environmental variables are needed:

UMAMI_API_CLIENT_USER_ID
UMAMI_API_CLIENT_SECRET
UMAMI_API_CLIENT_ENDPOINT

The confusion lies in whether I'm supposed to:

I'm sure I'm missing something... Thanks in advance.