1
0
Fork
You've already forked openaq_cli
0
command-line wrapper for the OpenAQ API, written in C
  • C 99.2%
  • CMake 0.8%
Find a file
2019年12月08日 16:24:59 +00:00
src readme 2019年12月08日 16:24:59 +00:00
test Updated makelists.txt 2019年03月22日 18:18:34 +00:00
.gitignore Added CSV-writing functionality. 2019年03月10日 17:12:20 +00:00
CMakeLists.txt Minor tweaks to CMakeLists files. Some cleanup in args.c and core.c. 2019年03月09日 17:16:06 +00:00
LICENSE readme 2019年12月08日 16:24:59 +00:00
README.md readme 2019年12月08日 16:24:59 +00:00

OpenAQ_CLI

OpenAQ_CLI is a command-line API wrapper for OpenAQ (http://www.openaq.org): the world's first open, real-time and historical air quality platform, aggregating government-measured and research-grade data - entirely open-source.

OpenAQ_CLI is written in C, using libcurl for HTTP requests (https://curl.haxx.se/libcurl/) and jansson (http://www.digip.org/jansson/) for JSON functionality.

Building OpenAQ_CLI

  • Make sure you have the required libraries (curl and jansson) installed.
  • Create makefiles for your system using CMake:
    • e.g. cmake -G "Unix Makefiles" -B build/ (run from root directory)
  • If you're using unix makefiles, run make all from within newly created build folder

Running tests

Run make test from the build folder, or make all test to build and test at the same time.