How to connect eWeLink with google app scripts

Hi,
I would like to directly connect google app scripts with the app, the API requires me to use a library which isn’t possible in google app scripts, is there a way to bypass this?

I think @jiale.liu would like to help with more specific you provided.