username_available
This method checks if a username is available for registration.
Parameters
| string |
method |
(required)
username_available
|
| string |
api_key |
(required)
API key assigned to your account.
|
| string |
username |
(required)
Username to check.
|
Result explanation
| string |
username |
Username is returned as a string if available
|
Errors
| Missing method |
Method is not specified in the request. |
| Missing API key |
API key is missing in the request. |
| Invalid API key |
API key not accepted. |
| Missing username |
Username is missing in the request. |
| Username 'user.name' cannot contain any periods |
Invalid username format. |
| Sorry username 'username' is taken. Please choose another name. |
Username is not available. |