How to use GamejoltAPI?

I wanted to add Gamejolt integration to my game, but i can’t get it to work, i have trouble with authenticating player.
Im using GamejoltAPI

here is my code: