API commands

The API is no longer available.

Replies (23)

Last message on 12 Aug 2023

xcj233 on 19 Nov 2022, 05:04:55
Is there an example?
Size43 (Administrator) on 17 Dec 2022, 20:21:15
Apologies for the delay. The API is deprecated and you should no longer use it for new projects.
xcj233 on 18 Dec 2022, 02:12:18
Thanks a lot (no wonder I can't use the api)
LustgotAttacks on 12 Dec 2021, 08:52:47
When i create account on my game and login it only loads and nothing happens
i suppose this is from the gms can you help me?
its not letting my players play
Size43 (Administrator) on 14 Dec 2021, 16:29:02
Thanks for letting me know, I'm working on a fix.
Aouab on 30 Apr 2019, 03:45:29
Will this API be back?

Any E.T.A?

I need it for making a Discord Bot. ^-^
Size43 (Administrator) on 5 May 2019, 12:39:52
Some kind of API might make a return after the rewrite has been finished.
xcj233 on 27 Jul 2023, 02:27:50
404...why
Size43 (Administrator) on 12 Aug 2023, 14:05:01
GameMaker Server is at its end-of-life and the API has been shut down already. I'll update this page to reflect that.
PlanetWorlds_Manager on 15 Apr 2021, 23:09:36
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Mouse Event for Left Pressed
for object obj_button_planet:

DoAdd :: Execution Error
at gml_Script_planet_create (line 36) - gms_ini_player_write("status","planet_create_cooldown",gms_time() + gms_ini_game_read("system","planet_create_cooldown"));
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_planet_create (line 36)
called from - gml_Object_obj_button_planet_LeftButtonPressed_1 (line 10) - planet_create(obj_textbox_planet.text);
Size43 (Administrator) on 24 Apr 2021, 19:21:07
You are seeing this error because gms_time() returns a real, and the INI key contains a string (or does not exist). You should check whether the INI key exists before reading it and using its value. If the INI value does not exist you should use some default value instead.

Additionally, if you are sometimes storing strings in this INI key, you might want to check whether the value is a string or a real before using it as well.
puzzle on 28 Jan 2017, 12:26:08
It seems that "user_id" in the explanation of *Highscore* is wrong.
I tried the test and it seems that "list_id" is correct.
Size43 (Administrator) on 30 Jan 2017, 11:12:04
You're right, I've fixed it.
matthe815 on 30 Dec 2016, 00:46:18
I've looked at the developer panel and saw something saying "API Requests per Hour", does that apply to the extension or just the web API?
Size43 (Administrator) on 3 Jan 2017, 12:57:13
Just the web API.
matthe815 on 3 Jan 2017, 18:46:00
Alright, thank you.
namlunthkl on 24 Feb 2015, 23:29:36
Hey... Any one have an example on PHP?
Size43 (Administrator) on 25 Feb 2015, 13:06:19
If you set the format to JSON, you can use json_decode in PHP to transform the API responses into a PHP array/object. Form there on it shouldn't be a problem to do the rest :)
namlunthkl on 20 Jun 2015, 03:35:03
What's Sercurity Code??? How can I get it?
Size43 (Administrator) on 20 Jun 2015, 15:15:07
It's needed for API authentication. You can find it by clicking your name in the top right of the screen.
xcj233 on 17 Dec 2022, 12:20:36
Are there any examples?
namlunthkl on 21 Jun 2015, 05:42:51
error
unknown 43 ... why??????????????
Size43 (Administrator) on 21 Jun 2015, 12:01:03
Seems like something is wrong with the xml encoding. I'll take a look when I can. For now, please try using another format like JSON.