You are here

function MCAPI::listGrowthHistory in Mailchimp 7

Same name and namespace in other branches
  1. 6.2 MCAPI.class.php \MCAPI::listGrowthHistory()

Access the Growth History by Month for a given list.

Related

@example mcapi_listGrowthHistory.php

@returnf string month The Year and Month in question using YYYY-MM format @returnf integer existing number of existing subscribers to start the month @returnf integer imports number of subscribers imported during the month @returnf integer optins number of subscribers who opted-in during the month

Parameters

string $id the list id to connect to. Get by calling lists():

Return value

array array of months and growth

File

./MCAPI.class.php, line 1379

Class

MCAPI

Code

function listGrowthHistory($id) {
  $params = array();
  $params["id"] = $id;
  return $this
    ->callServer("listGrowthHistory", $params);
}