项目作者: pziyang

项目描述 :
C++ Weather Application
高级语言: C++
项目地址: git://github.com/pziyang/WeatherApp.git
创建时间: 2016-11-17T17:22:01Z
项目社区:https://github.com/pziyang/WeatherApp

开源协议:

下载


C++ Weather Application

This is a simple weather application written in c++. It connects to US National Weather Service (NWS) API and retrives the weather forecast in NDFD format. It parses the xml for use.

It is meant to run in a background thread. Therefore, it very useful for integrating into another codes.

I initially wrote this to run a weather update LED display on Rpi.

Reference

US National Weather Service NDFD (https://graphical.weather.gov/xml/)
PugiXML parser (http://pugixml.org/)

Requirements

  • libcurl
  • cmake

Platforms

  • Testing on Rpi running debian

installation

  1. mkdir build
  2. cmake ..
  3. make

User Customization

See Weather.h

Example use

See main.cpp

License

GPLv3