🌈 Get The Weather INFO Then Ouput Voice Prompt And Send It To Your WeChat
Raspberry Pi 4B 4GB
Python 3.7urllibapschedulerbaidu-aipBaidu 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.pyfile and add yourBaidu APIandServerChanconfiguration information into it. -
Finally run it.
$ python3.7 weather.py