Listings website to display external API collections...

I’m about to create a site in Wix which will display lists of data that will be retrieved from an external API-driven website. The homepage will have 2 sections to display about 10 items from 2 different API requests with a “More…” link at the bottom of each section.

If the user clicks on the “More…” link underneath each section, I want them to then go to an individual page to display all of the results of each section that will be retrieved from the external API.

From what I understand, the following approach should work to make all of this happen:

  • I’ll need to first store the external API credentials in the secrets manager.
  • When making a request to the external API, I’ll have to use the Wix / Velo “fetch” API to incorporate my RESTFUL authentication into the requests I have to make for both the home page as well as the “all results” (dynamic) pages as each context (homepage / dynamic pages) will need to submit requests for the API endpoints after ensuring proper authentication. All of this being done from a *.jsw web module.
  • Display the results on the homepage and or the dynamic “all results” pages.
  • Perform a logout transaction after each request to prevent the external API endpoint(s) from flagging my request source as a black hat or attacker, etc. (Which is a prerequisite of the external API provider I’m planning on using.)

So in other words, I’ll be making a website that displays 10 items in 2 sections on the home page and in each section of the homepage, include a “More…” link which will display “all results” in dynamic pages.

Conceptually-speaking, is my understanding correct?

Any guidance is appreciated.