Git Product home page Git Product logo

qweather's Introduction

QWeather

利用和风天气的api(建议用专业开发者的,否则无法获取逐时天气)获取天气信息+一言+推送到自己的tg频道

qw_day 和 qw_hour 两个文件按注释填好即可推送到tg

wafu 是可以import到其他文件内,按自己需求组合信息或者推送到其他平台

具体请看文件内部的注释和和风天气的开发文档

如果vps运行报错,建议把emoji去掉换普通字符

需要安装 sxtwl 和 python-telegram-bot 其他模块都是python自带的

pip install sxtwl

pip install python-telegram-bot==13.7


一些效果图……我不会排版感觉有点丑……

当日预报

Snipaste_2021-12-19_12-32-37

实时天气

Snipaste_2021-12-19_12-32-51

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.