PurpleAirAPIConstants module

Constants and configuration values used throughout the PurpleAir API wrapper.

Overview

This module contains all the constant values used by the API wrapper, including:

  • API endpoint URLs

  • Valid field names for sensor data queries

  • Default configuration values

  • API version information

  • Valid parameter values for API requests

These constants ensure consistency across the API and make it easier to reference valid options when making API calls.

API Reference