Difference between revisions of "5 Get the city weather"

From Banana Pi Wiki
Jump to: navigation, search
(The development of preparation)
(Prepare the weather API)
Line 11: Line 11:
  
 
=Prepare the weather API=
 
=Prepare the weather API=
 +
 +
*I'm using the national weather service API here, http://www.weather.com.cn/data/cityinfo/101200801.html # 101200801 (In jingzhou city),See details of city ids:http://mobile.weather.com.cn/js/citylist.xml

Revision as of 20:30, 23 February 2019

The development of preparation

  • 1. First, ensure the integrity of the current firmware dependency package
help(“modules”)
  • The effect is shown below. If you do not have two dependency packages on the diagram, please burn the latest firmware.
Weathercheck.png

Prepare the weather API