function MCAPI::apikeys in Mailchimp 6
Same name and namespace in other branches
- 5.2 MCAPI.class.php \MCAPI::apikeys()
- 5 MCAPI.class.php \MCAPI::apikeys()
- 6.2 MCAPI.class.php \MCAPI::apikeys()
- 7 MCAPI.class.php \MCAPI::apikeys()
Retrieve a list of all MailChimp API Keys for this User
Related
@example xml-rpc_apikeyAdd.php
@returnf string apikey The api key that can be used @returnf string created_at The date the key was created @returnf string expired_at The date the key was expired
Parameters
string $username Your MailChimp user name:
string $password Your MailChimp password:
boolean $expired optional - whether or not to include expired keys, defaults to false:
Return value
array an array of API keys including:
File
- ./
MCAPI.class.php, line 952
Class
Code
function apikeys($username, $password, $expired = false) {
$params = array();
$params["username"] = $username;
$params["password"] = $password;
$params["expired"] = $expired;
return $this
->callServer("apikeys", $params);
}