The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"extracting JSON issue"
hi guys,
I'd like to make an API call that requests a forecast for a particular location, receive the JSON code back and then convert it into an example set in rapidminer.
the code below is the API call, but I haven't had any luck developing the next part.
I'd appreciate any help.
I'd like to make an API call that requests a forecast for a particular location, receive the JSON code back and then convert it into an example set in rapidminer.
the code below is the API call, but I haven't had any luck developing the next part.
I'd appreciate any help.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="6.3.000">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="6.3.000" expanded="true" name="Process">
<process expanded="true">
<operator activated="true" class="web:get_webpage" compatibility="5.3.002" expanded="true" height="60" name="Get Page (2)" width="90" x="45" y="120">
<parameter key="url" value="https://api.forecast.io/forecast/270255d4f537d8b330889abc76244d2f/52.27,-8.85?units=si"/>
<list key="query_parameters"/>
<list key="request_properties"/>
</operator>
<operator activated="true" class="web:json_to_xml" compatibility="5.3.002" expanded="true" height="60" name="Json to XML (2)" width="90" x="246" y="165"/>
<connect from_op="Get Page (2)" from_port="output" to_op="Json to XML (2)" to_port="document"/>
<connect from_op="Json to XML (2)" from_port="document" 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>
Tagged:
0
Answers