Appearance
Default Parameters
All API methods, except the Auth API, will accept a default set of values. For example i will take the API method create_entry.
The accpeted parameters are always 2 arrays. The first one is the auth array and the second one is the data array.
Auth array
The auth array has a structure like this:
Array
(
[username] => test
[password] => testPassword
OR
[shortkey] => y63idklo93
OR
[key] => 881ffcf82e41db00c3f00710f467e818
[secret] => 76a7646899af288589c4b69be484879e
)The username and password belong together, shortkey and key secret (defined in the cp) are standalone vars.
Data structure
the data structure is a also a associative array, and wil lbe described on the method page.
Username note
The username parameter can accept either the username or the email address of the user. This provides flexibility in authentication, allowing users to log in using their preferred identifier.
