Code Monkey home page Code Monkey logo

aqi_cnemc's Introduction

AQI_cnemc

我们从**环境总站采集实时的空气质量数据。数据API是http://106.37.208.233:20035/emcpublish/ClientBin/Env-CnemcPublish-RiaServices-EnvCnemcPublishDomainService.svc/binary/GetAQIDataPublishLives。这个API提供了一个WCF二进制数据流,然后使用python-wcfbin 对该二进制文件进行解码得到XML文本格式的数据。 从环境监测总站获取AQI数据,每隔半个小时获取一次数据并刷新本地缓存对象;创建一个http服务,提供数据接口

#依赖 本模块依赖于python3,Ppython3调用库解析来自**环境监测总站接口获取的wcf二进制文件,解析成XML文件并保存成data.xml nodej依赖于fast-xml-parse模块把xml文件解析成json,node通过json对象获取需要的数据。

aqi_cnemc's People

Contributors

eddy-cy avatar

Stargazers

 avatar

Watchers

 avatar

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.