How can I store and reuse an API token for daily usage in app development?

Uhrick
Shopify Partner
431 68 93

Hey people, one more question about app development.

I am using the remix template from shopify, and for my app, I need to send dates to a page, then, that page should check if a token to access an api was already generated in the day, and if it was, it should use it to get the information needed from that api to send back to the website. The thing is, the api only allows this token to be generated up to 5 times a day, so, I would need to make it be reused by every person that accesses the website through the rest of the day.

Is there any way for me to make this page's action store this token somewhere in the app that will be accessible throughout the rest of the day?

Shopify Developer
Hire me for theme customizations at ricardomsilvestre@outlook.com or Upwork
Was my answer helpful to you? Please like or mark as solution
Replies 0 (0)