What is Nostr?
rin /
npub1emn…rkds
2024-06-20 09:44:34

rin on Nostr: > need to query an API once a minute at work and do some lite (~100 loc) data ...

> need to query an API once a minute at work and do some lite (~100 loc) data processing
< well, I don't want to manage a server, so how about I try a serverless function
> to run a google cloud function periodically you need to create a pubsub channel for your function, and send events into it using cloud scheduler
< wait but what about the API token
> it's not recommended to store it in cloud environment variables, create a secrets manager and access it in the code

real over engineering hours
Author Public Key
npub1emn79m7cwed95v770tavrp98xpkavds5f3d7zjf8wzvuq7q22yjqncrkds