RESTful API
Using weather REST API ..
Last updated
Using weather REST API ..
Last updated
Accurate weather information and forecasts are essential elements in critical decision-making scenarios. Both enterprises and individual consumers rely on current and future weather patterns to run their daily operations and manage risks successfully.
As such, the increased demand for accurate weather information has pushed the developer community to invest in building reliable weather apps.
So in this workshop we're going to:
use a weather API.
pull the data into PDI.
display dataset in a CDE dashboard - Pentaho Server service.
The following section is for Reference only.
The CDE has been activated.
You may require to create an Openweathermap account.
Follow the steps outlined below to activate CDE and test the API call with Postman.
Ensure the Pentaho Server is stopped.
Uncomment the following lines:
/opt/pentaho/server/pentaho-server/pentaho-solutions/system/pentaho-cdf-dd/plugin.xml
Locate the following two commented blocks in this file and remove the comment tags from these blocks.
Save.
Uncomment the following lines:
/opt/pentaho/server/pentaho-server/pentaho-solutions/system/pentaho-cdf-dd/settings.xml
Locate the block at end of the file, 'Defining the new-toolbar-button' and remove the comments tags from this block
Locate the block at end of the file, 'Defining the new-toolbar-button' and remove the comments tags from this block.
Save.
Save your changes.
Restart the Pentaho Server.
To verify CDE is activated, do the following.
From the Home page, click the Create New button.
From the menu that displays, select the New CDE Dashboard option. You can now begin creating your first CDE dashboard.
CDF API Pentaho Data Integration and Analytics CDF API documentation.
Pentaho Data Integration and Analytics Platform JavaScript API.
Log on to the .
Your unique API key (you can always find it on your account page under the )
Postman is an for building and using APIs.
For further details: