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.
2. On the Extension center page that appears, click + Add at the bottom of Climate Data.
After being added, the extension and its blocks are displayed in the Blocks area.
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.
1. Drag the Events block when (space) key pressed to the Scripts area.
2. Drag the Looks block say ( ) to the Scripts area.
3. Drag the Climate Data block (city) weather to the Scripts area, set the city to Shenzhen, and click OK.
4. Press the space key and see what happens.
Comments
Please sign in to leave a comment.