Help About Api Using

Hi @Sebastian,
I try to use API for getting data from my cms but I failed everytime.

I tried a lot of methods and functions but I failed.

that’s my code. Can you help me about using API please?

I would just output skills to the console or use Chrome debugger then you will find the answer.