im creating a basic air quality application.
i followed the weather tutorial for the most part to get a great hands on feel on how to build this.
im at the point now where the application generates, but no information comes up.
im still new to this so please bare with me
This is the JSON example im using (and I do insert my correct API key)
http://ws1.airnowgateway.org/GatewayW...
under request parameters:
PATH = format ; ATTRIBUTE = json
PATH=key ; ATTRIBUTE =API KEY
PATH=zipcode; COMPONENT = zipinput ; ATTRIBUTE= text
For repsonse mapping:
{"forecast": [{"DateIssue":"1/15/2010 12:00:00 AM","DateForecast":"1/15/2010 12:00:00 AM","ReportingArea":"Napa","StateCode":"CA","Latitude":"38.3300","Longitude":"-122.2800","ParameterName":"PM2.5","AQI":"74","CategoryNumber":"2","CategoryName":"Moderate","ActionDay":"False","Discussion":""},{"DateIssue":"1/15/2010 12:00:00 AM","DateForecast":"1/16/2010 12:00:00 AM","ReportingArea":"Napa","StateCode":"CA","Latitude":"38.3300","Longitude":"-122.2800","ParameterName":"PM2.5","AQI":"45","CategoryNumber":"1","CategoryName":"Good","ActionDay":"False","Discussion":""},{"DateIssue":"1/15/2010 12:00:00 AM","DateForecast":"1/17/2010 12:00:00 AM","ReportingArea":"Napa","StateCode":"CA","Latitude":"38.3300","Longitude":"-122.2800","ParameterName":"OZONE","AQI":"20","CategoryNumber":"1","CategoryName":"Good","ActionDay":"False","Discussion":""},{"DateIssue":"1/15/2010 12:00:00 AM","DateForecast":"1/18/2010 12:00:00 AM","ReportingArea":"Napa","StateCode":"CA","Latitude":"38.3300","Longitude":"-122.2800","ParameterName":"OZONE","AQI":"-1","CategoryNumber":"1","CategoryName":"Good","ActionDay":"False","Discussion":""},{"DateIssue":"1/15/2010 12:00:00 AM","DateForecast":"1/19/2010 12:00:00 AM","ReportingArea":"Napa","StateCode":"CA","Latitude":"38.3300","Longitude":"-122.2800","ParameterName":"OZONE","AQI":"-1","CategoryNumber":"1","CategoryName":"Good","ActionDay":"False","Discussion":""},{"DateIssue":"1/15/2010 12:00:00 AM","DateForecast":"1/20/2010 12:00:00 AM","ReportingArea":"Napa","StateCode":"CA","Latitude":"38.3300","Longitude":"-122.2800","ParameterName":"OZONE","AQI":"-1","CategoryNumber":"1","CategoryName":"Good","ActionDay":"False","Discussion":""}]}
Response set:
PATH = forecast: ; COMPONENT= mobilegridcell12
repsonse entry:
PATH= CategoryName ; COMPONENT=AQTEXT ; ATTRIBUTE =text
I then went to my "update" button and added the execute communication event to access datasource1
My goal for this app is to just display the CategoryName for the particular zipcode that is inputed.
Maybe by reading this, did I do something wrong or miss a step?
I appreciate any help at all!! Thank you in advance!