Skip to content

Commit

Permalink
Error code 402 (#98)
Browse files Browse the repository at this point in the history
* Update PurpleAirAPIConstants.py

- adding in error code 402.

* Update setup.cfg

- bumping to new version.

* Update PurpleAirAPIConstants.py

- also adding in error code 415. read the api docs quickly and noticed another new code.
  • Loading branch information
carlkidcrypto authored Sep 24, 2024
1 parent 240e28a commit 28c5479
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion purpleair_api/PurpleAirAPIConstants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, 415]

#: Success Code
SUCCESS_CODE_LIST = [200, 201, 204]
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 28c5479

Please sign in to comment.