Hello im trying to learn inventor and I've been following some tutorials online. Currently im working on pullung json files off of websites. I was originally making a weather app however the site will not return data. So, I have been troubleshooting trying to figure it out and I found another site to use, and it actually returned the data so what's the difference and why can i not pull from the one site, but I can from the other?
The site I want to use to pull data - https://forecast.weather.gov/MapClick.php?lat=40.4406&lon=-79.9958&FcstType=json
I notice the format for the information on each page is different not sure if its something to do with that or what here is my code blocks in inventor. I had more functionality in the program but I backed up and made it simpler in order to solve the no return data on one site problem. Thank you for any help!
When I put it in my browser this comes up. Im not familiar with key yet im able to look through the json on the 2nd site by indexing the list though. I was trying to use the weather site to update a weather app based on my location but it doesnt return any response from my web call. Do some websites not respond or allow you to pull it?
pls see the blocks for the second web address.. you can take the whole details from the obtained json and make following list. From this list you can take any values, equally from any list
Here is a way to Authenticate your app's use of the NWS (USA National Weather Service) forecasts in json format (allows you to access the weather forecast).