Page 1 of 1

Hidden Responses

Posted: Wed Mar 25, 2015 5:05 am
by Corey Michael

I am currently using WUnderground API to get weather data and build a forecast model but not all of the responses are showing in the system. Below is the data and what is shown in the "responses." How can I show the "periods" and the data in the "Periods" such as "title" or "fctxt"?

"forecast":{

"txt_forecast": {

"date":"11:22 PM EDT",

"forecastday": [

{

"period":0,

"icon":"mostlycloudy",

"icon_url":"http://icons.wxug.com/i/c/k/mostlyclo...",

"title":"Wednesday",

"fcttext":"A mix of clouds and sun early, then becoming cloudy later in the day. High 68F. Winds ESE at 5 to 10 mph.",

"fcttext_metric":"A mix of clouds and sun early, then becoming cloudy later in the day. High near 20C. Winds ESE at 10 to 15 km/h.",

"pop":"20"

Code: Select all

             } 

,

{

"period":1,

"icon":"nt_chancerain",

"icon_url":"http://icons.wxug.com/i/c/k/nt_chance...",

"title":"Wednesday Night",

"fcttext":"Partly cloudy in the evening. Increasing clouds with periods of showers after midnight. Low 59F. Winds SSE at 5 to 10 mph. Chance of rain 40%.",

"fcttext_metric":"Partly cloudy skies early followed by increasing clouds with showers developing later at night. Low near 15C. Winds SSE at 10 to 15 km/h. Chance of rain 40%.",

"pop":"40"

Code: Select all

             }

Hidden Responses

Posted: Thu Mar 26, 2015 3:51 am
by Yurii Orishchuk

Hi Corey,

You need:

  1. Create service(seems to be done).

  2. Set appery.io proxy for this service.

  3. Test service(on the test tab). And then click "Import as response" to create response parameter automatically.
    Details: http://prntscr.com/6lgbwp/direct

  4. Navigate to service datasource on the certain page and click "success mapping" then - implement links(from service response to page components) you need.

    Regards.