getAP()

Overview:

Get the number of APs of the current active citizen.

Usage:

client.user.balance.getAP()
.then((response) => {
    const ap = response;
    // write your code here.
})
.catch((error) => {
    // handle error.
})

Requirement:

none

Parameters:

none

Return:

  • Success:

Promise<number>
  • Failed:

error

Error:

500 Internal Server Error

Last updated