Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

"MailChimp API"

sgenzersgenzer Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
edited June 2019 in Knowledge Base

15555815682_78c0c815ca.jpg

Hello RapidMiners - this is another API process for you to access MailChimp accounts.  It's a pretty easy one - just get an API key from your MailChimp account (see this link) and then consume the API using any of the features available on their developer website.  I particularly like their "playground" where you can test various calls.

 

Screen Shot 2017-11-29 at 11.27.30 AM_Redacted.jpg

 

and here's a quick XML process for RapidMiner Studio using the Get Page operator:

 

<?xml version="1.0" encoding="UTF-8"?><process version="7.6.001">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="7.6.001" expanded="true" name="Process">
<process expanded="true">
<operator activated="true" class="web:get_webpage" compatibility="7.3.000" expanded="true" height="68" name="Get Page" width="90" x="45" y="34">
<parameter key="url" value="https://us7.api.mailchimp.com/3.0/lists"/>
<parameter key="user_agent" value="rapidminer"/>
<parameter key="accept_cookies" value="all"/>
<list key="query_parameters"/>
<list key="request_properties">
<parameter key="Authorization" value="apikey xxxxxxxx"/>
</list>
<parameter key="override_encoding" value="true"/>
<parameter key="encoding" value="UTF-8"/>
</operator>
<connect from_op="Get Page" from_port="output" to_port="result 1"/>
<portSpacing port="source_input 1" spacing="0"/>
<portSpacing port="sink_result 1" spacing="0"/>
<portSpacing port="sink_result 2" spacing="0"/>
</process>
</operator>
</process>

You of course need to put in your own API key and then make a call more exciting than just lists!  Have fun.

 

Scott

 

 

Sign In or Register to comment.