I've been asked to build a simple leaderboard to display on the game's webpage. Unfortunately our webhost doesn't provide any server-side scripting options so we need to do all the work in the client-side browser. As such we've opted to create an API secret with extremely limited access.
By mostly copy/pasting their example my console is full of authorization errors which never stop. Looking at the included "gamesparks.html" example file, it sets properties not mentioned in the SDK tutorial docs, and I can't find expected value examples in documentation. I threw the API shortcode into the "credential" property and stopped getting endless authorization errors, but I still can't connect and get data.
Are there any more complete examples or documentation available? Is there a better/preferred method of getting leaderboard data when we can't secure any code behind server processes? If not, can anyone shed some light on the following questions?