Group
Extension

Matches 1

Weather-PurpleAir-API ( T/TT/TTKCIAR/Weather-PurpleAir-API-0.09.tar.gz, TTKCIAR, 2022; MetaCPAN )
Weather-PurpleAir-API/lib/Weather/PurpleAir/API.pm ( view source; MetaCPAN )
air quality sensor API

use strict;
use warnings;
use v5.10.0;  # provides "say" and "state"

use JSON::MaybeXS;
use File::Valet;
use HTTP::Tiny;
use Time::HiRes;
use String::Similarity qw(similarity)
 exception is caught (for instance, when a JSON string does not decode).

=item C<js_or> (C<JSON::MaybeXS> object reference)

Contains a reference to the JSON decoder object used internally.  May be o
ried.  Useful for testing, or if you have your own server.

Default is "https://www.purpleair.com/json?show=", to which the sensor ID is appended by the C<sensor_url> method.

=item C<average> =E<gt> 

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.