login

Login with user name and password to retrieve a session API key

This key can be used to generate the sign value for subsequent API calls with the 'authmode' parameter set to 'sessionkey'. Refer to the main API documentation for an example

Variable Description Data type
$username * The username string
$password * The current password string

Return values

A session API key in string form if the login succeeds, FALSE if the credentials are invalid