Register or sign in to start receiving activity updates from around Kongregate!
Complete Initialization for 10 kreds
Congratulations! You’ve completed your Kongregate account!
Keep exploring Kongregate with more badges and games!
Hide the progress bar forever?
Sign in to reply
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?
[Kongregate API] AS3 API Integration
Maybe some useful stuff there, especially under section 6 and 7 and on the AS3 API documentation page.
I should have specified, I am using AS2!
Thanks anyway templarknightx
Bump, so not possible for AS2?
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.
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.
You can retrieve a list for the HighScore statistic, but AFAIK not any other statistics in AS2.
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.
Get more out of your Kongregate experience. Take advantage of ad-free gaming, cool profile skins, automatic beta access, and private chat with Kong Plus.
Learn more »
Did you know you can now score GameStop PowerUp Rewards® Points on Kongregate?
Find out how »