From 4e3dc6b34ac8ed5f139122da6974a10d14d1fa00 Mon Sep 17 00:00:00 2001 From: Carlos <27721404+carlkidcrypto@users.noreply.github.com> Date: Tue, 24 Sep 2024 08:09:13 -0700 Subject: [PATCH 1/3] Update PurpleAirAPIConstants.py - adding in error code 402. --- purpleair_api/PurpleAirAPIConstants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/purpleair_api/PurpleAirAPIConstants.py b/purpleair_api/PurpleAirAPIConstants.py index 6ac6811..971d6e7 100644 --- a/purpleair_api/PurpleAirAPIConstants.py +++ b/purpleair_api/PurpleAirAPIConstants.py @@ -9,7 +9,7 @@ PRINT_DEBUG_MSGS = False #: Accepted Error Codes -ERROR_CODES_LIST = [400, 403, 404, 409] +ERROR_CODES_LIST = [400, 402, 403, 404, 409] #: Success Code SUCCESS_CODE_LIST = [200, 201, 204] From 38522fb4a33000f24838cf387cbc4b8a386c865a Mon Sep 17 00:00:00 2001 From: Carlos <27721404+carlkidcrypto@users.noreply.github.com> Date: Tue, 24 Sep 2024 08:09:48 -0700 Subject: [PATCH 2/3] Update setup.cfg - bumping to new version. --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 0c1d9a0..416f417 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,7 +2,7 @@ description-file = README.md license_files = LICENSE name = purpleair_api -version = 1.2.0a1 +version = 1.2.0a2 author = Carlos Santos author_email = dose.lucky.sake@cloak.id license = MIT From bce8e31333aabfa41f4dfb24f7b09af8c4631c09 Mon Sep 17 00:00:00 2001 From: Carlos <27721404+carlkidcrypto@users.noreply.github.com> Date: Tue, 24 Sep 2024 08:12:39 -0700 Subject: [PATCH 3/3] Update PurpleAirAPIConstants.py - also adding in error code 415. read the api docs quickly and noticed another new code. --- purpleair_api/PurpleAirAPIConstants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/purpleair_api/PurpleAirAPIConstants.py b/purpleair_api/PurpleAirAPIConstants.py index 971d6e7..dbc381d 100644 --- a/purpleair_api/PurpleAirAPIConstants.py +++ b/purpleair_api/PurpleAirAPIConstants.py @@ -9,7 +9,7 @@ PRINT_DEBUG_MSGS = False #: Accepted Error Codes -ERROR_CODES_LIST = [400, 402, 403, 404, 409] +ERROR_CODES_LIST = [400, 402, 403, 404, 409, 415] #: Success Code SUCCESS_CODE_LIST = [200, 201, 204]