We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f77b970 commit 15d1303Copy full SHA for 15d1303
1 file changed
src/quads_lib/quads.py
@@ -344,4 +344,14 @@ def create_vlan(self, data: dict) -> dict:
344
return self.post("vlans", data)
345
346
# Moves
347
- def get_moves(self
+ def get_moves(self, date: Optional[str] = None) -> dict:
348
+ url = "moves"
349
+ if date:
350
+ url_params = urlencode({"date": date})
351
+ url = f"moves?{url_params}"
352
+ json_response = self.get(url)
353
+ return json_response
354
+
355
+ def get_version(self) -> dict:
356
+ json_response = self.get("version")
357
0 commit comments