mailchimp_api_v3 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.coveralls.yml +4 -0
- data/.rspec +2 -0
- data/.rubocop.yml +1 -1
- data/Gemfile +1 -0
- data/Guardfile +1 -0
- data/README.md +1 -1
- data/circle.yml +7 -5
- data/lib/mailchimp_api_v3.rb +1 -0
- data/lib/mailchimp_api_v3/account.rb +1 -0
- data/lib/mailchimp_api_v3/client.rb +1 -0
- data/lib/mailchimp_api_v3/client/remote.rb +6 -2
- data/lib/mailchimp_api_v3/collection.rb +1 -0
- data/lib/mailchimp_api_v3/collection/paging.rb +1 -0
- data/lib/mailchimp_api_v3/exception.rb +1 -0
- data/lib/mailchimp_api_v3/instance.rb +1 -0
- data/lib/mailchimp_api_v3/interest.rb +2 -1
- data/lib/mailchimp_api_v3/interest_category.rb +4 -3
- data/lib/mailchimp_api_v3/list.rb +2 -1
- data/lib/mailchimp_api_v3/member.rb +2 -1
- data/lib/mailchimp_api_v3/version.rb +2 -1
- data/mailchimp_api_v3.gemspec +3 -1
- data/spec/fixtures/cassettes/account.yml +26 -22
- data/spec/fixtures/cassettes/client.yml +130 -96
- data/spec/fixtures/cassettes/exception.yml +60 -50
- data/spec/fixtures/cassettes/interest.yml +134 -87
- data/spec/fixtures/cassettes/interest_categories.yml +207 -184
- data/spec/fixtures/cassettes/interest_category.yml +137 -90
- data/spec/fixtures/cassettes/interests.yml +241 -165
- data/spec/fixtures/cassettes/list.yml +81 -227
- data/spec/fixtures/cassettes/lists.yml +27 -12
- data/spec/fixtures/cassettes/mailchimp.yml +26 -22
- data/spec/fixtures/cassettes/member.yml +106 -75
- data/spec/fixtures/cassettes/members.yml +255 -171
- data/spec/fixtures/cassettes/members_create_or_update.yml +269 -182
- data/spec/fixtures/cassettes/members_paging.yml +102 -115
- data/spec/mailchimp_api_v3/account_spec.rb +1 -3
- data/spec/mailchimp_api_v3/client_spec.rb +1 -3
- data/spec/mailchimp_api_v3/exception_spec.rb +2 -4
- data/spec/mailchimp_api_v3/interest_categories_spec.rb +1 -3
- data/spec/mailchimp_api_v3/interest_category_spec.rb +1 -3
- data/spec/mailchimp_api_v3/interest_spec.rb +1 -3
- data/spec/mailchimp_api_v3/interests_spec.rb +1 -3
- data/spec/mailchimp_api_v3/list_spec.rb +2 -4
- data/spec/mailchimp_api_v3/lists_spec.rb +2 -4
- data/spec/mailchimp_api_v3/member_spec.rb +1 -3
- data/spec/mailchimp_api_v3/members_spec.rb +5 -7
- data/spec/mailchimp_spec.rb +1 -3
- data/spec/spec_helper.rb +3 -8
- data/spec/support/api_key.rb +1 -0
- data/spec/support/vcr_setup.rb +3 -1
- metadata +19 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57dc2088fb2c4b161ac1522c958ebaf3fc46c9ce
|
4
|
+
data.tar.gz: 556eb1b3ac67669fc3009ed097634fbd61cc9618
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49d0ba9776666f0e77716f0cdadc0bc8e515284ab1a55a0e1ccaa083f1da7b1fcb4635705029bd1931d157eefa6e8840574f45cc1173c31a4d81e6b25be1586a
|
7
|
+
data.tar.gz: 89047b90f4dc5be7098c49d8311dcd1771627792a520169f12ee157601237095c410c8accd67c82fc74ef2f9104df8e66759cf6002d855ca5ab5614ae19e0367
|
data/.coveralls.yml
ADDED
data/.rspec
CHANGED
data/.rubocop.yml
CHANGED
@@ -32,7 +32,7 @@ LineLength:
|
|
32
32
|
Style/SymbolArray:
|
33
33
|
Description: 'Use %i or %I for arrays of symbols.'
|
34
34
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-i'
|
35
|
-
Enabled:
|
35
|
+
Enabled: true # Only available in Ruby 2.0+
|
36
36
|
|
37
37
|
Style/ExtraSpacing:
|
38
38
|
Description: 'Do not use unnecessary spacing.'
|
data/Gemfile
CHANGED
data/Guardfile
CHANGED
data/README.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
[![Code quality](http://img.shields.io/codeclimate/github/Xenapto/mailchimp_api_v3.svg?style=flat)](https://codeclimate.com/github/Xenapto/mailchimp_api_v3)
|
6
6
|
[![Coverage](https://img.shields.io/coveralls/Xenapto/mailchimp_api_v3/develop.svg?style=flat)](https://coveralls.io/r/Xenapto/mailchimp_api_v3?branch=develop)
|
7
7
|
[![Dependency Status](https://dependencyci.com/github/Xenapto/mailchimp_api_v3/badge)](https://dependencyci.com/github/Xenapto/mailchimp_api_v3)
|
8
|
-
[![
|
8
|
+
[![Join the chat at https://gitter.im/Xenapto/mailchimp_api_v3](https://badges.gitter.im/Xenapto/mailchimp_api_v3.svg)](https://gitter.im/Xenapto/mailchimp_api_v3?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
9
9
|
|
10
10
|
A simple gem to interact with Mailchimp through the Mailchimp API v3
|
11
11
|
|
data/circle.yml
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
---
|
2
2
|
machine:
|
3
3
|
ruby:
|
4
|
-
version: 2.1
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
4
|
+
version: 2.3.1
|
5
|
+
test:
|
6
|
+
override:
|
7
|
+
- RAILS_ENV=test bundle exec rspec -r rspec_junit_formatter --format RspecJunitFormatter -o $CIRCLE_TEST_REPORTS/rspec/junit.xml:
|
8
|
+
parallel: true
|
9
|
+
files:
|
10
|
+
- spec/**/*.rb
|
data/lib/mailchimp_api_v3.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
require 'yaml'
|
2
3
|
require 'restclient'
|
3
4
|
|
@@ -26,7 +27,7 @@ module Mailchimp
|
|
26
27
|
|
27
28
|
def managed_remote(path, method = :get, options = {}, payload = nil)
|
28
29
|
headers_and_params = headers.merge params_from(options)
|
29
|
-
YAML.load
|
30
|
+
YAML.load(naked_remote("#{url_stub}#{path}", method, headers_and_params, payload) || '')
|
30
31
|
rescue *RETRY_EXCEPTIONS => e
|
31
32
|
@retries ||= 0
|
32
33
|
raise e if (@retries += 1) > 3
|
@@ -49,7 +50,7 @@ module Mailchimp
|
|
49
50
|
end
|
50
51
|
|
51
52
|
def naked_remote(url, method, headers_and_params, payload = nil)
|
52
|
-
if
|
53
|
+
if %i(get delete head options).include? method
|
53
54
|
remote_no_payload(url, method, headers_and_params)
|
54
55
|
else
|
55
56
|
remote_with_payload(url, payload, method, headers_and_params)
|
@@ -58,6 +59,8 @@ module Mailchimp
|
|
58
59
|
|
59
60
|
def remote_no_payload(url, method, headers_and_params = {})
|
60
61
|
RestClient.__send__ method, url, headers_and_params
|
62
|
+
rescue RestClient::NotFound
|
63
|
+
nil
|
61
64
|
end
|
62
65
|
|
63
66
|
def remote_with_payload(url, payload, method, headers_and_params = {})
|
@@ -66,6 +69,7 @@ module Mailchimp
|
|
66
69
|
|
67
70
|
def headers
|
68
71
|
@headers ||= {
|
72
|
+
'Accept' => '*/*; q=0.5, application/xml',
|
69
73
|
'Authorization' => "apikey #{@api_key}",
|
70
74
|
'User-Agent' => 'Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3'
|
71
75
|
}.merge @extra_headers
|
@@ -1,10 +1,11 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
module Mailchimp
|
2
3
|
class List
|
3
4
|
class InterestCategory
|
4
5
|
Interest = Class.new(Instance)
|
5
6
|
|
6
7
|
class Interests < Collection
|
7
|
-
PATH_KEY = DATA_KEY = 'interests'
|
8
|
+
PATH_KEY = DATA_KEY = 'interests'
|
8
9
|
CHILD_CLASS = Interest
|
9
10
|
end
|
10
11
|
end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
module Mailchimp
|
2
3
|
class List
|
3
4
|
class InterestCategory < Instance
|
@@ -9,9 +10,9 @@ module Mailchimp
|
|
9
10
|
end
|
10
11
|
|
11
12
|
class InterestCategories < Collection
|
12
|
-
NAME_FIELD = 'title'
|
13
|
-
PATH_KEY = 'interest-categories'
|
14
|
-
DATA_KEY = 'categories'
|
13
|
+
NAME_FIELD = 'title'
|
14
|
+
PATH_KEY = 'interest-categories'
|
15
|
+
DATA_KEY = 'categories'
|
15
16
|
CHILD_CLASS = InterestCategory
|
16
17
|
end
|
17
18
|
end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
module Mailchimp
|
2
3
|
class List < Instance
|
3
4
|
def members(options = {})
|
@@ -15,7 +16,7 @@ module Mailchimp
|
|
15
16
|
end
|
16
17
|
|
17
18
|
class Lists < Collection
|
18
|
-
PATH_KEY = DATA_KEY = 'lists'
|
19
|
+
PATH_KEY = DATA_KEY = 'lists'
|
19
20
|
CHILD_CLASS = List
|
20
21
|
end
|
21
22
|
end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
module Mailchimp
|
2
3
|
class List
|
3
4
|
class Member < Instance
|
@@ -56,7 +57,7 @@ module Mailchimp
|
|
56
57
|
end
|
57
58
|
|
58
59
|
class Members < Collection
|
59
|
-
PATH_KEY = DATA_KEY = 'members'
|
60
|
+
PATH_KEY = DATA_KEY = 'members'
|
60
61
|
CHILD_CLASS = Member
|
61
62
|
|
62
63
|
def create(data)
|
data/mailchimp_api_v3.gemspec
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
lib = File.expand_path('../lib', __FILE__)
|
2
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
4
|
require 'mailchimp_api_v3/version'
|
@@ -17,10 +18,11 @@ Gem::Specification.new do |spec|
|
|
17
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features|coverage)\/})
|
18
19
|
spec.require_paths = ['lib']
|
19
20
|
|
20
|
-
spec.add_runtime_dependency 'rest-client', '~>
|
21
|
+
spec.add_runtime_dependency 'rest-client', '~> 2' # https://github.com/rest-client/rest-client/issues/369
|
21
22
|
|
22
23
|
spec.add_development_dependency 'bundler', '~> 1'
|
23
24
|
spec.add_development_dependency 'rspec', '~> 3'
|
25
|
+
spec.add_development_dependency 'fuubar', '~> 2'
|
24
26
|
spec.add_development_dependency 'rspec_junit_formatter', '~> 0'
|
25
27
|
spec.add_development_dependency 'simplecov', '~> 0'
|
26
28
|
spec.add_development_dependency 'coveralls', '~> 0'
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https
|
5
|
+
uri: https://us11.api.mailchimp.com/3.0
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -11,10 +11,12 @@ http_interactions:
|
|
11
11
|
- "*/*; q=0.5, application/xml"
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
|
-
Authorization:
|
15
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
16
14
|
User-Agent:
|
17
15
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
16
|
+
Authorization:
|
17
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
18
|
+
Host:
|
19
|
+
- us11.api.mailchimp.com
|
18
20
|
response:
|
19
21
|
status:
|
20
22
|
code: 301
|
@@ -27,9 +29,9 @@ http_interactions:
|
|
27
29
|
Content-Length:
|
28
30
|
- '242'
|
29
31
|
Location:
|
30
|
-
- http
|
32
|
+
- http://us11.api.mailchimp.com/3.0/
|
31
33
|
Date:
|
32
|
-
-
|
34
|
+
- Thu, 04 Aug 2016 14:25:59 GMT
|
33
35
|
Connection:
|
34
36
|
- keep-alive
|
35
37
|
body:
|
@@ -40,13 +42,13 @@ http_interactions:
|
|
40
42
|
<title>301 Moved Permanently</title>
|
41
43
|
</head><body>
|
42
44
|
<h1>Moved Permanently</h1>
|
43
|
-
<p>The document has moved <a href="http
|
45
|
+
<p>The document has moved <a href="http://us11.api.mailchimp.com/3.0/">here</a>.</p>
|
44
46
|
</body></html>
|
45
|
-
http_version:
|
46
|
-
recorded_at:
|
47
|
+
http_version:
|
48
|
+
recorded_at: Thu, 04 Aug 2016 14:25:59 GMT
|
47
49
|
- request:
|
48
50
|
method: get
|
49
|
-
uri: http
|
51
|
+
uri: http://us11.api.mailchimp.com/3.0/
|
50
52
|
body:
|
51
53
|
encoding: US-ASCII
|
52
54
|
string: ''
|
@@ -55,12 +57,12 @@ http_interactions:
|
|
55
57
|
- "*/*; q=0.5, application/xml"
|
56
58
|
Accept-Encoding:
|
57
59
|
- gzip, deflate
|
58
|
-
Authorization:
|
59
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
60
60
|
User-Agent:
|
61
61
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
62
|
-
|
63
|
-
-
|
62
|
+
Authorization:
|
63
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
64
|
+
Host:
|
65
|
+
- us11.api.mailchimp.com
|
64
66
|
response:
|
65
67
|
status:
|
66
68
|
code: 200
|
@@ -71,22 +73,24 @@ http_interactions:
|
|
71
73
|
Content-Type:
|
72
74
|
- application/json; charset=utf-8
|
73
75
|
Content-Length:
|
74
|
-
- '
|
76
|
+
- '3269'
|
75
77
|
X-Request-Id:
|
76
|
-
-
|
78
|
+
- a4254ba5-c5e9-48fb-84a5-9857c659ccc2
|
77
79
|
Link:
|
78
|
-
- <https
|
80
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Root.json>; rel="describedBy"
|
79
81
|
Vary:
|
80
82
|
- Accept-Encoding
|
81
83
|
Date:
|
82
|
-
-
|
84
|
+
- Thu, 04 Aug 2016 14:26:00 GMT
|
83
85
|
Connection:
|
84
86
|
- keep-alive
|
87
|
+
Set-Cookie:
|
88
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
85
89
|
body:
|
86
90
|
encoding: ASCII-8BIT
|
87
|
-
string: '{"account_id":"1dbca289fd41b54838bcbb501","account_name":"InSite Arts","contact":{"company":"InSite
|
91
|
+
string: '{"account_id":"1dbca289fd41b54838bcbb501","account_name":"InSite Arts","email":"sam@sayers.cc","username":"samsayers","role":"owner","contact":{"company":"InSite
|
88
92
|
Arts","addr1":"300 Burdett Road","addr2":"London","city":"London","state":"","zip":"E14
|
89
|
-
7DQ","country":"GB"},"last_login":"
|
90
|
-
http_version:
|
91
|
-
recorded_at:
|
92
|
-
recorded_with: VCR
|
93
|
+
7DQ","country":"GB"},"pro_enabled":false,"last_login":"2016-08-04T14:25:25+00:00","total_subscribers":8,"industry_stats":{"open_rate":0.21842484737161,"bounce_rate":0.015938935487191,"click_rate":0.020519217237966},"_links":[{"rel":"self","href":"https://us11.api.mailchimp.com/3.0/","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Root.json"},{"rel":"lists","href":"https://us11.api.mailchimp.com/3.0/lists","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Lists.json"},{"rel":"reports","href":"https://us11.api.mailchimp.com/3.0/reports","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Reports/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Reports.json"},{"rel":"conversations","href":"https://us11.api.mailchimp.com/3.0/conversations","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Conversations/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Conversations.json"},{"rel":"campaigns","href":"https://us11.api.mailchimp.com/3.0/campaigns","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Campaigns/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Campaigns.json"},{"rel":"automations","href":"https://us11.api.mailchimp.com/3.0/automations","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Automations/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Automations.json"},{"rel":"templates","href":"https://us11.api.mailchimp.com/3.0/templates","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Templates/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Templates.json"},{"rel":"file-manager","href":"https://us11.api.mailchimp.com/3.0/file-manager","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/FileManager/Namespace.json"},{"rel":"authorized-apps","href":"https://us11.api.mailchimp.com/3.0/authorized-apps","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/AuthorizedApps/Collection.json"},{"rel":"batches","href":"https://us11.api.mailchimp.com/3.0/batches","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Batches/Collection.json"},{"rel":"template-folders","href":"https://us11.api.mailchimp.com/3.0/template-folders","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/TemplateFolders/Collection.json"},{"rel":"campaign-folders","href":"https://us11.api.mailchimp.com/3.0/campaign-folders","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/CampaignFolders/Collection.json"},{"rel":"ecommerce","href":"https://us11.api.mailchimp.com/3.0/ecommerce","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Ecommerce/Namespace.json"}]}'
|
94
|
+
http_version:
|
95
|
+
recorded_at: Thu, 04 Aug 2016 14:26:00 GMT
|
96
|
+
recorded_with: VCR 3.0.3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https
|
5
|
+
uri: https://us11.api.mailchimp.com/3.0/lists?count=500&exclude_fields=lists._links,_links&offset=0
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -11,42 +11,54 @@ http_interactions:
|
|
11
11
|
- "*/*; q=0.5, application/xml"
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
|
-
Authorization:
|
15
|
-
- apikey xxxxxxxxxx-us11
|
16
14
|
User-Agent:
|
17
15
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
16
|
+
Authorization:
|
17
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
18
|
+
Host:
|
19
|
+
- us11.api.mailchimp.com
|
18
20
|
response:
|
19
21
|
status:
|
20
|
-
code:
|
21
|
-
message:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
22
24
|
headers:
|
23
25
|
Server:
|
24
26
|
- nginx
|
25
27
|
Content-Type:
|
26
|
-
-
|
28
|
+
- application/json; charset=utf-8
|
27
29
|
Content-Length:
|
28
|
-
- '
|
29
|
-
|
30
|
-
-
|
30
|
+
- '3520'
|
31
|
+
X-Request-Id:
|
32
|
+
- eb718870-c1d4-48ab-b9a4-a5d1d7319c1b
|
33
|
+
Link:
|
34
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Collection.json>; rel="describedBy"
|
35
|
+
Vary:
|
36
|
+
- Accept-Encoding
|
31
37
|
Date:
|
32
|
-
-
|
38
|
+
- Thu, 04 Aug 2016 14:26:13 GMT
|
33
39
|
Connection:
|
34
40
|
- keep-alive
|
41
|
+
Set-Cookie:
|
42
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
35
43
|
body:
|
36
|
-
encoding:
|
37
|
-
string:
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
44
|
+
encoding: ASCII-8BIT
|
45
|
+
string: '{"lists":[{"id":"e73f5910ca","name":"My first list","contact":{"company":"InSite
|
46
|
+
Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"","zip":"E14
|
47
|
+
7DQ","country":"GB","phone":"07917153555"},"permission_reminder":"Opt-in only","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
|
48
|
+
Sayers","from_email":"sam@sayers.cc","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2015-06-27T14:49:18+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/brGTO9","subscribe_url_long":"http://insitearts.us11.list-manage.com/subscribe?u=1dbca289fd41b54838bcbb501&id=e73f5910ca","beamer_address":"us11-6692a2b3c3-bcd2a8b144@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":3,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":3,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":2,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2015-07-11T12:41:38+00:00","last_unsub_date":""}},{"id":"71937ea346","name":"My
|
49
|
+
second list","contact":{"company":"InSite Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"Select
|
50
|
+
One","zip":"E14 7DQ","country":"GB","phone":"02075372125"},"permission_reminder":"Test
|
51
|
+
list for Xenapto testing","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
|
52
|
+
Sayers","from_email":"sam@insitearts.com","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2015-07-09T10:17:28+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/bsNMtP","subscribe_url_long":"http://insitearts.us11.list-manage.com/subscribe?u=1dbca289fd41b54838bcbb501&id=71937ea346","beamer_address":"us11-6692a2b3c3-e843e438a6@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":1,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":0,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":2,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2015-07-09T13:32:01+00:00","last_unsub_date":""}},{"id":"3f19e5d463","name":"My
|
53
|
+
third list","contact":{"company":"InSite Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"Select
|
54
|
+
One","zip":"E14 7DQ","country":"GB","phone":"02075372125"},"permission_reminder":"For
|
55
|
+
xenapto testing","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
|
56
|
+
Sayers","from_email":"sam@insitearts.com","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2015-07-12T16:45:11+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/bs3cI1","subscribe_url_long":"http://insitearts.us11.list-manage2.com/subscribe?u=1dbca289fd41b54838bcbb501&id=3f19e5d463","beamer_address":"us11-6692a2b3c3-8e485f6d99@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":4,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":0,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":2,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2015-07-14T11:28:57+00:00","last_unsub_date":""}}],"total_items":3}'
|
57
|
+
http_version:
|
58
|
+
recorded_at: Thu, 04 Aug 2016 14:26:13 GMT
|
47
59
|
- request:
|
48
60
|
method: get
|
49
|
-
uri:
|
61
|
+
uri: https://us11.api.mailchimp.com/3.0/lists?count=500&exclude_fields=lists._links,_links&offset=0
|
50
62
|
body:
|
51
63
|
encoding: US-ASCII
|
52
64
|
string: ''
|
@@ -55,41 +67,54 @@ http_interactions:
|
|
55
67
|
- "*/*; q=0.5, application/xml"
|
56
68
|
Accept-Encoding:
|
57
69
|
- gzip, deflate
|
58
|
-
Authorization:
|
59
|
-
- apikey xxxxxxxxxx-us11
|
60
70
|
User-Agent:
|
61
71
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
62
|
-
|
63
|
-
-
|
72
|
+
Authorization:
|
73
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
74
|
+
Host:
|
75
|
+
- us11.api.mailchimp.com
|
64
76
|
response:
|
65
77
|
status:
|
66
|
-
code:
|
67
|
-
message:
|
78
|
+
code: 200
|
79
|
+
message: OK
|
68
80
|
headers:
|
69
81
|
Server:
|
70
82
|
- nginx
|
71
83
|
Content-Type:
|
72
|
-
- application/
|
84
|
+
- application/json; charset=utf-8
|
73
85
|
Content-Length:
|
74
|
-
- '
|
86
|
+
- '3519'
|
87
|
+
X-Request-Id:
|
88
|
+
- d76aa546-d92c-477c-a6f7-e216e78a3377
|
75
89
|
Link:
|
76
|
-
- <https
|
90
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Collection.json>; rel="describedBy"
|
77
91
|
Vary:
|
78
92
|
- Accept-Encoding
|
79
93
|
Date:
|
80
|
-
-
|
94
|
+
- Thu, 04 Aug 2016 14:26:14 GMT
|
81
95
|
Connection:
|
82
96
|
- keep-alive
|
97
|
+
Set-Cookie:
|
98
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
83
99
|
body:
|
84
100
|
encoding: ASCII-8BIT
|
85
|
-
string: '{"
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
101
|
+
string: '{"lists":[{"id":"e73f5910ca","name":"My first list","contact":{"company":"InSite
|
102
|
+
Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"","zip":"E14
|
103
|
+
7DQ","country":"GB","phone":"07917153555"},"permission_reminder":"Opt-in only","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
|
104
|
+
Sayers","from_email":"sam@sayers.cc","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2015-06-27T14:49:18+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/brGTO9","subscribe_url_long":"http://insitearts.us11.list-manage.com/subscribe?u=1dbca289fd41b54838bcbb501&id=e73f5910ca","beamer_address":"us11-6692a2b3c3-bcd2a8b144@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":3,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":3,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":2,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2015-07-11T12:41:38+00:00","last_unsub_date":""}},{"id":"71937ea346","name":"My
|
105
|
+
second list","contact":{"company":"InSite Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"Select
|
106
|
+
One","zip":"E14 7DQ","country":"GB","phone":"02075372125"},"permission_reminder":"Test
|
107
|
+
list for Xenapto testing","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
|
108
|
+
Sayers","from_email":"sam@insitearts.com","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2015-07-09T10:17:28+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/bsNMtP","subscribe_url_long":"http://insitearts.us11.list-manage.com/subscribe?u=1dbca289fd41b54838bcbb501&id=71937ea346","beamer_address":"us11-6692a2b3c3-e843e438a6@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":1,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":0,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":2,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2015-07-09T13:32:01+00:00","last_unsub_date":""}},{"id":"3f19e5d463","name":"My
|
109
|
+
third list","contact":{"company":"InSite Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"Select
|
110
|
+
One","zip":"E14 7DQ","country":"GB","phone":"02075372125"},"permission_reminder":"For
|
111
|
+
xenapto testing","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
|
112
|
+
Sayers","from_email":"sam@insitearts.com","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2015-07-12T16:45:11+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/bs3cI1","subscribe_url_long":"http://insitearts.us11.list-manage.com/subscribe?u=1dbca289fd41b54838bcbb501&id=3f19e5d463","beamer_address":"us11-6692a2b3c3-8e485f6d99@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":4,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":0,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":2,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2015-07-14T11:28:57+00:00","last_unsub_date":""}}],"total_items":3}'
|
113
|
+
http_version:
|
114
|
+
recorded_at: Thu, 04 Aug 2016 14:26:14 GMT
|
90
115
|
- request:
|
91
116
|
method: get
|
92
|
-
uri: https
|
117
|
+
uri: https://us11.api.mailchimp.com/3.0
|
93
118
|
body:
|
94
119
|
encoding: US-ASCII
|
95
120
|
string: ''
|
@@ -98,10 +123,12 @@ http_interactions:
|
|
98
123
|
- "*/*; q=0.5, application/xml"
|
99
124
|
Accept-Encoding:
|
100
125
|
- gzip, deflate
|
101
|
-
Authorization:
|
102
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
103
126
|
User-Agent:
|
104
127
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
128
|
+
Authorization:
|
129
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
130
|
+
Host:
|
131
|
+
- us11.api.mailchimp.com
|
105
132
|
response:
|
106
133
|
status:
|
107
134
|
code: 301
|
@@ -114,9 +141,9 @@ http_interactions:
|
|
114
141
|
Content-Length:
|
115
142
|
- '242'
|
116
143
|
Location:
|
117
|
-
- http
|
144
|
+
- http://us11.api.mailchimp.com/3.0/
|
118
145
|
Date:
|
119
|
-
-
|
146
|
+
- Thu, 04 Aug 2016 14:56:43 GMT
|
120
147
|
Connection:
|
121
148
|
- keep-alive
|
122
149
|
body:
|
@@ -127,13 +154,13 @@ http_interactions:
|
|
127
154
|
<title>301 Moved Permanently</title>
|
128
155
|
</head><body>
|
129
156
|
<h1>Moved Permanently</h1>
|
130
|
-
<p>The document has moved <a href="http
|
157
|
+
<p>The document has moved <a href="http://us11.api.mailchimp.com/3.0/">here</a>.</p>
|
131
158
|
</body></html>
|
132
|
-
http_version:
|
133
|
-
recorded_at:
|
159
|
+
http_version:
|
160
|
+
recorded_at: Thu, 04 Aug 2016 14:56:43 GMT
|
134
161
|
- request:
|
135
162
|
method: get
|
136
|
-
uri: http
|
163
|
+
uri: http://us11.api.mailchimp.com/3.0/
|
137
164
|
body:
|
138
165
|
encoding: US-ASCII
|
139
166
|
string: ''
|
@@ -142,12 +169,12 @@ http_interactions:
|
|
142
169
|
- "*/*; q=0.5, application/xml"
|
143
170
|
Accept-Encoding:
|
144
171
|
- gzip, deflate
|
145
|
-
Authorization:
|
146
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
147
172
|
User-Agent:
|
148
173
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
149
|
-
|
150
|
-
-
|
174
|
+
Authorization:
|
175
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
176
|
+
Host:
|
177
|
+
- us11.api.mailchimp.com
|
151
178
|
response:
|
152
179
|
status:
|
153
180
|
code: 200
|
@@ -158,27 +185,29 @@ http_interactions:
|
|
158
185
|
Content-Type:
|
159
186
|
- application/json; charset=utf-8
|
160
187
|
Content-Length:
|
161
|
-
- '
|
188
|
+
- '3270'
|
162
189
|
X-Request-Id:
|
163
|
-
-
|
190
|
+
- 5958e064-4137-4b6f-ab62-1bd339ecad53
|
164
191
|
Link:
|
165
|
-
- <https
|
192
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Root.json>; rel="describedBy"
|
166
193
|
Vary:
|
167
194
|
- Accept-Encoding
|
168
195
|
Date:
|
169
|
-
-
|
196
|
+
- Thu, 04 Aug 2016 14:56:43 GMT
|
170
197
|
Connection:
|
171
198
|
- keep-alive
|
199
|
+
Set-Cookie:
|
200
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
172
201
|
body:
|
173
202
|
encoding: ASCII-8BIT
|
174
|
-
string: '{"account_id":"1dbca289fd41b54838bcbb501","account_name":"InSite Arts","contact":{"company":"InSite
|
203
|
+
string: '{"account_id":"1dbca289fd41b54838bcbb501","account_name":"InSite Arts","email":"sam@sayers.cc","username":"samsayers","role":"owner","contact":{"company":"InSite
|
175
204
|
Arts","addr1":"300 Burdett Road","addr2":"London","city":"London","state":"","zip":"E14
|
176
|
-
7DQ","country":"GB"},"last_login":"
|
177
|
-
http_version:
|
178
|
-
recorded_at:
|
205
|
+
7DQ","country":"GB"},"pro_enabled":false,"last_login":"2016-08-04T14:25:25+00:00","total_subscribers":27,"industry_stats":{"open_rate":0.21842484737161,"bounce_rate":0.015938935487191,"click_rate":0.020519217237966},"_links":[{"rel":"self","href":"https://us11.api.mailchimp.com/3.0/","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Root.json"},{"rel":"lists","href":"https://us11.api.mailchimp.com/3.0/lists","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Lists.json"},{"rel":"reports","href":"https://us11.api.mailchimp.com/3.0/reports","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Reports/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Reports.json"},{"rel":"conversations","href":"https://us11.api.mailchimp.com/3.0/conversations","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Conversations/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Conversations.json"},{"rel":"campaigns","href":"https://us11.api.mailchimp.com/3.0/campaigns","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Campaigns/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Campaigns.json"},{"rel":"automations","href":"https://us11.api.mailchimp.com/3.0/automations","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Automations/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Automations.json"},{"rel":"templates","href":"https://us11.api.mailchimp.com/3.0/templates","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Templates/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Templates.json"},{"rel":"file-manager","href":"https://us11.api.mailchimp.com/3.0/file-manager","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/FileManager/Namespace.json"},{"rel":"authorized-apps","href":"https://us11.api.mailchimp.com/3.0/authorized-apps","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/AuthorizedApps/Collection.json"},{"rel":"batches","href":"https://us11.api.mailchimp.com/3.0/batches","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Batches/Collection.json"},{"rel":"template-folders","href":"https://us11.api.mailchimp.com/3.0/template-folders","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/TemplateFolders/Collection.json"},{"rel":"campaign-folders","href":"https://us11.api.mailchimp.com/3.0/campaign-folders","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/CampaignFolders/Collection.json"},{"rel":"ecommerce","href":"https://us11.api.mailchimp.com/3.0/ecommerce","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Ecommerce/Namespace.json"}]}'
|
206
|
+
http_version:
|
207
|
+
recorded_at: Thu, 04 Aug 2016 14:56:43 GMT
|
179
208
|
- request:
|
180
209
|
method: get
|
181
|
-
uri: https
|
210
|
+
uri: https://us11.api.mailchimp.com/3.0
|
182
211
|
body:
|
183
212
|
encoding: US-ASCII
|
184
213
|
string: ''
|
@@ -187,42 +216,44 @@ http_interactions:
|
|
187
216
|
- "*/*; q=0.5, application/xml"
|
188
217
|
Accept-Encoding:
|
189
218
|
- gzip, deflate
|
190
|
-
Authorization:
|
191
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
192
219
|
User-Agent:
|
193
220
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
221
|
+
Authorization:
|
222
|
+
- apikey xxxxxxxxxx-us11
|
223
|
+
Host:
|
224
|
+
- us11.api.mailchimp.com
|
194
225
|
response:
|
195
226
|
status:
|
196
|
-
code:
|
197
|
-
message:
|
227
|
+
code: 301
|
228
|
+
message: Moved Permanently
|
198
229
|
headers:
|
199
230
|
Server:
|
200
231
|
- nginx
|
201
232
|
Content-Type:
|
202
|
-
-
|
233
|
+
- text/html; charset=iso-8859-1
|
203
234
|
Content-Length:
|
204
|
-
- '
|
205
|
-
|
206
|
-
-
|
207
|
-
Link:
|
208
|
-
- <https://<%= ENV['MAILCHIMP_DC'] %>.api.mailchimp.com/schema/3.0/Lists/Collection.json>; rel="describedBy"
|
209
|
-
Vary:
|
210
|
-
- Accept-Encoding
|
235
|
+
- '242'
|
236
|
+
Location:
|
237
|
+
- http://us11.api.mailchimp.com/3.0/
|
211
238
|
Date:
|
212
|
-
-
|
239
|
+
- Thu, 04 Aug 2016 14:56:43 GMT
|
213
240
|
Connection:
|
214
241
|
- keep-alive
|
215
242
|
body:
|
216
|
-
encoding:
|
217
|
-
string:
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
243
|
+
encoding: UTF-8
|
244
|
+
string: |
|
245
|
+
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
246
|
+
<html><head>
|
247
|
+
<title>301 Moved Permanently</title>
|
248
|
+
</head><body>
|
249
|
+
<h1>Moved Permanently</h1>
|
250
|
+
<p>The document has moved <a href="http://us11.api.mailchimp.com/3.0/">here</a>.</p>
|
251
|
+
</body></html>
|
252
|
+
http_version:
|
253
|
+
recorded_at: Thu, 04 Aug 2016 14:56:43 GMT
|
223
254
|
- request:
|
224
255
|
method: get
|
225
|
-
uri:
|
256
|
+
uri: http://us11.api.mailchimp.com/3.0/
|
226
257
|
body:
|
227
258
|
encoding: US-ASCII
|
228
259
|
string: ''
|
@@ -231,37 +262,40 @@ http_interactions:
|
|
231
262
|
- "*/*; q=0.5, application/xml"
|
232
263
|
Accept-Encoding:
|
233
264
|
- gzip, deflate
|
234
|
-
Authorization:
|
235
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
236
265
|
User-Agent:
|
237
266
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
267
|
+
Authorization:
|
268
|
+
- apikey xxxxxxxxxx-us11
|
269
|
+
Host:
|
270
|
+
- us11.api.mailchimp.com
|
238
271
|
response:
|
239
272
|
status:
|
240
|
-
code:
|
241
|
-
message:
|
273
|
+
code: 401
|
274
|
+
message: Unauthorized
|
242
275
|
headers:
|
243
276
|
Server:
|
244
277
|
- nginx
|
245
278
|
Content-Type:
|
246
|
-
- application/json; charset=utf-8
|
279
|
+
- application/problem+json; charset=utf-8
|
247
280
|
Content-Length:
|
248
|
-
- '
|
281
|
+
- '233'
|
249
282
|
X-Request-Id:
|
250
|
-
-
|
283
|
+
- e28b19e0-488d-46d8-83a8-06343729a8cd
|
251
284
|
Link:
|
252
|
-
- <https
|
285
|
+
- <https://us11.api.mailchimp.com/schema/3.0/ProblemDetailDocument.json>; rel="describedBy"
|
253
286
|
Vary:
|
254
287
|
- Accept-Encoding
|
255
288
|
Date:
|
256
|
-
-
|
289
|
+
- Thu, 04 Aug 2016 14:56:43 GMT
|
257
290
|
Connection:
|
258
291
|
- keep-alive
|
292
|
+
Set-Cookie:
|
293
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
259
294
|
body:
|
260
295
|
encoding: ASCII-8BIT
|
261
|
-
string: '{"
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
recorded_with: VCR 2.9.3
|
296
|
+
string: '{"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"API
|
297
|
+
Key Invalid","status":401,"detail":"Your API key may be invalid, or you''ve
|
298
|
+
attempted to access the wrong datacenter.","instance":""}'
|
299
|
+
http_version:
|
300
|
+
recorded_at: Thu, 04 Aug 2016 14:56:43 GMT
|
301
|
+
recorded_with: VCR 3.0.3
|