Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an API classmethod to check the validity of an API key #9

Merged
merged 4 commits into from
Nov 5, 2022
Merged

Conversation

bachya
Copy link
Owner

@bachya bachya commented Nov 4, 2022

Describe what the PR does:

SSIA.

Does this fix a specific issue?

N/A

Checklist:

  • Confirm that one or more new tests are written for the new functionality.
  • Run tests and ensure everything passes (with 100% test coverage).
  • Update README.md with any new documentation.
  • Add yourself to AUTHORS.md.

@bachya bachya added the enhancement Enhancement of the code, not introducing new features. label Nov 4, 2022
@bachya bachya self-assigned this Nov 4, 2022
aiopurpleair/errors.py Show resolved Hide resolved
aiopurpleair/api.py Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Nov 4, 2022

Codecov Report

Merging #9 (33d9185) into dev (1398b2b) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##               dev        #9   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         8    +3     
  Lines          148       206   +58     
=========================================
+ Hits           148       206   +58     
Impacted Files Coverage Δ
aiopurpleair/api.py 100.00% <100.00%> (ø)
aiopurpleair/errors.py 100.00% <100.00%> (ø)
aiopurpleair/model/keys.py 100.00% <100.00%> (ø)
aiopurpleair/const.py 100.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@bachya bachya changed the title Add API endpoint for GET /keys Add an API classmethod to check the validity of an API key Nov 5, 2022
@codeclimate
Copy link

codeclimate bot commented Nov 5, 2022

Code Climate has analyzed commit 33d9185 and detected 0 issues on this pull request.

View more on Code Climate.

@bachya bachya merged commit 471cf58 into dev Nov 5, 2022
@bachya bachya deleted the keys branch November 5, 2022 02:32
@github-actions github-actions bot locked and limited conversation to collaborators Nov 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Enhancement of the code, not introducing new features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant