# Open Weather API array

**URL:** <https://community.thunkable.com/t/open-weather-api-array/985460>\
**Category:** Questions about Thunkable X\
**Created:** [November 19, 2020, 3:59pm UTC](https://community.thunkable.com/t/open-weather-api-array/985460 "2020-11-19T15:59:37Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 19, 2020, 11:52pm UTC](https://community.thunkable.com/t/open-weather-api-array/985460/21 "2020-11-19T23:52:56Z")

</div>

Very close! You’re getting the property “hourly” from the “hourly” object. But you need to get the property “temp” from the “hourly” object". Our screenshots are just _slightly_ different that way.

Also make sure that you’re initializing or setting “app list” to an empty list to start.

---

<div class="post-metadata">

**Author:** ![gpo](https://avatars.discourse-cdn.com/v4/letter/g/7993a0/32.png) [@gpo](https://community.thunkable.com/u/gpo)\
**Post date:** [November 20, 2020, 12:07am UTC](https://community.thunkable.com/t/open-weather-api-array/985460/22 "2020-11-20T00:07:50Z")

</div>

Well, I think this matches yours but I am still getting the dreaded blank screen when it runs. See what you think.

 ![Screen Shot 2020-11-19 at 4.06.42 PM (2)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/b/3b89e63224cf77c4528364e1486fc5bfdae4595b.jpeg)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 20, 2020, 12:14am UTC](https://community.thunkable.com/t/open-weather-api-array/985460/23 "2020-11-20T00:14:19Z")

</div>

It looks the same. That should work. The only thing I don’t see is setting the “app list” variable to an empty list but I assume you’re doing that elsewhere.

I even changed my url to match yours by matching your lat/lon values and adding &units=imperial to it.

If you want to share your project with me via PM, I can take a look. Otherwise, I’m just not sure what to suggest.

---

<div class="post-metadata">

**Author:** ![gpo](https://avatars.discourse-cdn.com/v4/letter/g/7993a0/32.png) [@gpo](https://community.thunkable.com/u/gpo)\
**Post date:** [November 20, 2020, 12:18am UTC](https://community.thunkable.com/t/open-weather-api-array/985460/24 "2020-11-20T00:18:09Z")

</div>

How do I send you a PM?

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 20, 2020, 12:33am UTC](https://community.thunkable.com/t/open-weather-api-array/985460/25 "2020-11-20T00:33:00Z")

</div>

Click on the envelope icon at the top-right of the forums page next to your profile image. Then click New Message.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 20, 2020, 12:45am UTC](https://community.thunkable.com/t/open-weather-api-array/985460/26 "2020-11-20T00:45:42Z")

</div>

Aha! This little addition allows it to work in the project you sent me:

![Screen Shot 2020-11-19 at 4.44.46 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/5/05f973be3f0dd5a0bd0c1d680036cfcace1ecce3.png)

Setting “app list” to “empty list”. I realize you did initialize it but for whatever reason, it needed to be reset to an empty list.

**Edit:** And here’s why… you’re initializing it twice. You have it set to a blank string ( **not** a list) on your AccuWeather screen:

![Screen Shot 2020-11-19 at 4.46.57 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/1/711d990a74cc51453279297bf748192e0938c36d.png)

So that being said, you don’t need the extra block to “set” the value. You just need to avoid initializing it twice. If I delete the initialization block from the AccuWeather screen, the Loop screen works perfectly.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:21pm UTC](https://community.thunkable.com/t/open-weather-api-array/985460/27 "2024-11-08T12:21:34Z")

</div>

Closed on November 8, 2024, 12:21pm UTC



[Previous page](https://community.thunkable.com/t/open-weather-api-array/985460.md?page=1)
