register

This method registers a new user.

Parameters

string method (required) register
string api_key (required) API key assigned to your account.
string username (optional) Valid username.
string password (required) SHA/1 encoded password with the prefix "sha1:" - see example below.
string email (required) Valid email address.

Sample password

 
sha1:f01e86be4829e2764ce55284c80d32cefd08fd78
			

Result explanation

array userid, username, openid Returns an array containing the userid, username, and OpenID url for the newly registered user.

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 or email address Either a username or an email address must be present to register a user.
Missing password Password is missing in the request.
Missing email address Email address is missing in the request.
Username 'user.name' cannot contain any periods Invalid username format.
Sorry username 'username' is taken Username is not available.
It appears that you have already registered with us User with that email address already exists.