Skip to content

Commit

Permalink
added docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
Mopsgeschwindigkeit committed Nov 2, 2023
1 parent 9f32f9b commit 171afd2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sxapi/publicV2/devices.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class Devices:
"""
This Class represents the /todos endpoint of the PublicAPIV2.
https://api.smaxtec.com/api/v2/
"""

def __init__(self, api=None):
Expand All @@ -15,6 +15,9 @@ def get_check_activatable(self, device_id, activation_code, **kwargs):
Args:
device_id (str): ID of the device check if activation is possible
activation_code (str): Devices activation code
**kwargs: Optional parameters of the API call.
Find supported parameters under
https://api.smaxtec.com/api/v2/
Returns:
dict: Response of API call. Result on success, error message else.
Expand Down

0 comments on commit 171afd2

Please sign in to comment.