RapidMiner

2 weeks ago

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

 

 

Scott Genzer
Senior Community Manager
RapidMiner, Inc.