Skip to content

Commit 9b3055d

Browse files
Update Notecard API from upstream schema changes (7137f5e2ca6e243d70500d849e2d06f54b34bfa5) (#137)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent fe35349 commit 9b3055d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

notecard/card.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ def triangulate(card, minutes=None, mode=None, on=None, set=None, text=None, tim
799799

800800
@validate_card_object
801801
def usageGet(card, mode=None, offset=None):
802-
"""Return the card's network usage statistics.
802+
"""Return the Notecard's network usage statistics for cellular and Wi-Fi transmissions.
803803
804804
Args:
805805
card (Notecard): The current Notecard object.
@@ -819,13 +819,13 @@ def usageGet(card, mode=None, offset=None):
819819

820820
@validate_card_object
821821
def usageTest(card, days=None, hours=None, megabytes=None):
822-
"""Calculate a projection of how long the available data quota will last based on the observed usage patterns.
822+
"""Calculate a projection of how long the available cellular data quota will last based on the observed usage patterns.
823823
824824
Args:
825825
card (Notecard): The current Notecard object.
826826
days (int): Number of days to use for the test.
827827
hours (int): If you want to analyze a period shorter than one day, the number of hours to use for the test.
828-
megabytes (int): The Notecard lifetime data quota (in megabytes) to use for the test.
828+
megabytes (int): The Notecard lifetime cellular data quota (in megabytes) to use for the test.
829829
830830
Returns:
831831
dict: The result of the Notecard request.

0 commit comments

Comments
 (0)