Is it possible to launch an API call in the initialize or update function of a plugin element?

Is it possible to launch a plugin API call in the initialize or update function of a plugin element and get results?
I need to use Unsplash API in element plugin but I want to keep the keys confidential.
Please help

Suggestions?

Yes, If you need my assistance you can ask for the help at my Skype- help.paulaustin.

I am also trying to do this, would you still offer some help?