The Climate Data extension enables you to obtain real-time weather forecast. You can choose a city and obtain its real-time weather data, including the temperature, humidity, and air quality.

Add the Climate Data extension

  1. Click the Sprites tab and click + extension at the bottom of the blocks area.
    image.png
    2. On the Extension center page that appears, click + Add at the bottom of Climate Data.
    image.png
    After being added, the extension and its block are displayed in the blocks area.
    image.png

    Use the Climate Data blocks

Try to use Climate Data blocks. Create a project and program Panda to be your private weather reporter.

Ensure that Panda is selected.

Climate Data - 图4

(1) Drag the Events block when (space) key pressed to the scripts area.

Climate Data - 图5

(2) Drag the Look block say ( ) to the scripts area.

Climate Data - 图6

(3) Drag the Climate Data block (city) weather to the scripts area, set the city to Shenzhen, and click OK.
climate-4.png
Climate Data - 图8

(4) Press the space key and see what happens.

Climate Data - 图9