Description Usage Arguments Examples
Get lists
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | chmp_lists(
conn,
fields = NULL,
exclude_fields = NULL,
count = NULL,
offset = NULL,
before_date_created = NULL,
since_date_created = NULL,
before_campaign_last_sent = NULL,
since_campaign_last_sent = NULL,
email = NULL,
sort_field = NULL,
sort_dir = NULL,
key = NULL,
parse = TRUE,
...
)
chmp_lists_(
conn,
fields = NULL,
exclude_fields = NULL,
count = NULL,
offset = NULL,
before_date_created = NULL,
since_date_created = NULL,
before_campaign_last_sent = NULL,
since_campaign_last_sent = NULL,
email = NULL,
sort_field = NULL,
sort_dir = NULL,
key = NULL,
...
)
|
conn |
a connection object. see ChmpClient |
fields |
(list/vector) A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
exclude_fields |
(list/vector) A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
count |
(integer/numeric) The number of records to return. Default value is 10. |
offset |
(integer/numeric) The number of records from a collection to skip. Iterating over large collections with this parameter can be slow. Default value is 0. |
before_date_created |
(character) Restrict response to lists created before the set date. |
since_date_created |
(character) Restrict results to lists created after the set date. |
before_campaign_last_sent |
(character) Restrict results to lists created before the last campaign send date. |
since_campaign_last_sent |
(character) Restrict results to lists created after the last campaign send date. |
email |
(character) Restrict results to lists that include a specific subscriber's email address. |
sort_field |
(character) Returns files sorted by the specified field. Possible Values: date_created |
sort_dir |
(character) Determines the order direction for sorted results. Possible Values: ASC, DESC |
key |
A Mailchimp API key. See https://developer.mailchimp.com/documentation/mailchimp/ to get a key |
parse |
(logical) Whether to parse to list ( |
... |
Curl options passed to |
1 2 3 4 5 6 7 | ## Not run:
(conn <- ChmpClient$new())
chmp_lists_(conn)
chmp_lists(conn)
chmp_lists(conn, parse = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.