00:00
00:00

Our goal is for Newgrounds to be ad free for everyone! Become a Supporter today and help make this dream a reality!

Newgrounds Wiki: Gateway

Description Provides information about the gateway server.

Gateway.getDatetime

Loads the current date and time from the Newgrounds.io server.

Returns:

datetime - string
The server's date and time in ISO 8601 format.

Gateway.getVersion

Returns the current version of the Newgrounds.io gateway.

Returns:

version - string
The version number (in X.Y.Z format).

Gateway.ping

Pings the Newgrounds.io server.

Returns:

pong - string
Will always return a value of 'pong'