-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update test.py to use new endpoint names
- Loading branch information
Stephen Ross II
committed
Oct 19, 2016
1 parent
2f0f70d
commit 3fb4df1
Showing
1 changed file
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
# coding=utf-8 | ||
""" | ||
Some basic tests to verify that the wrapper is working | ||
""" | ||
from mailchimp3 import MailChimp | ||
|
||
|
||
client = MailChimp('MAILCHIMP_USER', 'MAILCHIMP_SECRET') | ||
|
||
print client.list.all(fields="lists.name,lists.id") | ||
print client.lists.all(fields="lists.name,lists.id") | ||
|
||
print client.authorized_app.all() | ||
print client.authorized_apps.all(get_all=False) | ||
|
||
print client.automation.all() | ||
print client.automations.all(get_all=True) |