Can you get information back from the API?

8 posts

Flag Post

Can I in my game get information returned from the API, like the players position on the highscore list, the current best score, the players username or other stuff?

 
Flag Post

Kongregate API
[Kongregate API] AS3 API Integration

Maybe some useful stuff there, especially under section 6 and 7 and on the AS3 API documentation page.

 
Flag Post

I should have specified, I am using AS2!

Thanks anyway templarknightx

 
Flag Post

Bump, so not possible for AS2?

 
Flag Post

You can try typing in ?debug_level=3 after the url to see some of the stats the game is sending to the server through the chat…but im not sure thats what your asking.

 
Flag Post

No, I want, in the game, to get the information back from the API, so I can display that info in the game. For example what position on the highscore list the player got or the best score that player got so far.

 
Flag Post

You can retrieve a list for the HighScore statistic, but AFAIK not any other statistics in AS2.

 
Flag Post

You can only retrieve the top scores. Retrieving player specific data as far as specific scores and stats is not possible for now.

Retrieving the player username is possible in AS2 games by reading _root.kongregate_username.