Custom plugin connecting with api connectir

Im making a custom plugin, i have a get api connector function to get data. How do I access that data within the javascript part of an element?

I’m making my plugin and I wanna get my api data from connector inside my custom bubble plugin I wnana get it in my element javascript area and pull data. I have no idea how to javascript the get data and get certain things and search for first in the api connector list and get each item variable in the response from the api connector

the api connector is completely separated from any code in your plugin.
If you need data from an api in your code you need to fetch it with js.

The API connector is built in the plug-in by default and you can make actions to data calls there which is way easier to interact with in bubble for data if your intention is to display this as a Thing/Type.