|
@@ 1519-1524 (lines=6) @@
|
| 1516 |
|
* @param string $password Your MailChimp password |
| 1517 |
|
* @return string a new API Key that can be immediately used. |
| 1518 |
|
*/ |
| 1519 |
|
function apikeyAdd($username, $password) { |
| 1520 |
|
$params = array(); |
| 1521 |
|
$params["username"] = $username; |
| 1522 |
|
$params["password"] = $password; |
| 1523 |
|
return $this->callServer("apikeyAdd", $params); |
| 1524 |
|
} |
| 1525 |
|
|
| 1526 |
|
/** |
| 1527 |
|
* Expire a Specific API Key. Note that if you expire all of your keys, a new, valid one will be created and returned |
|
@@ 1540-1545 (lines=6) @@
|
| 1537 |
|
* @param string $password Your MailChimp password |
| 1538 |
|
* @return boolean true if it worked, otherwise an error is thrown. |
| 1539 |
|
*/ |
| 1540 |
|
function apikeyExpire($username, $password) { |
| 1541 |
|
$params = array(); |
| 1542 |
|
$params["username"] = $username; |
| 1543 |
|
$params["password"] = $password; |
| 1544 |
|
return $this->callServer("apikeyExpire", $params); |
| 1545 |
|
} |
| 1546 |
|
|
| 1547 |
|
/** |
| 1548 |
|
* "Ping" the MailChimp API - a simple method you can call that will return a constant value as long as everything is good. Note |