Bubble api connector and custom plugin

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