Lookup data from API based on User data

hello,
I need to lookup a company’s name from an external API. The lookup is done on Company-id.
The company-id is stored in the User data type.
so basically what I am doing is: lookup Company-id from User data type in the external API that also contains the company-id and return the Company-name from there.

Using search-for only gives me possibility to search in Bubble data types, not in external API’s.
Any ideas?

Hello @arend

Search is done on your dB. There is no way to find things that do not exist.

The external dB let’s other access it’s contents via their api.

You are already accessing this external dB via a GET api call that they allow.

What I would do is after that call I would create a thing in my dB (Bubble) after every GET. As time passes I will then have items in my dB that I can find by searching.

If the outside dB let’s the outside obtain all of its contents via another GET that returns a list of their entries …. Then I would make this GET call and create all of them in my dB (Bubble). This way I can search for them because they will exist. :smiley:

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.