🌈 Get The Weather INFO Then Ouput Voice Prompt And Send It To Your WeChat
Raspberry Pi 4B 4GB
Python 3.7
urllib
apscheduler
baidu-aip
Baidu AIP SDK( aip-python-sdk-2.2.15 )
- Firstly you need to install some dependencies.
$ pip3 install apscheduler
$ cd aip-python-sdk-2.2.15
$ pip3 install baidu-aip
$ python3.7 setup.py install
-
Then open the
config.py
file and add yourBaidu API
andServerChan
configuration information into it. -
Finally run it.
$ python3.7 weather.py