This commit is contained in:
@@ -50,6 +50,16 @@ class ClickthroughSkill:
|
||||
response.raise_for_status()
|
||||
return response.json()
|
||||
|
||||
def grid_summary(self, grid_id: str) -> Dict[str, Any]:
|
||||
response = self._client.get(f"/grid/{grid_id}/summary")
|
||||
response.raise_for_status()
|
||||
return response.json()
|
||||
|
||||
def grid_history(self, grid_id: str) -> Dict[str, Any]:
|
||||
response = self._client.get(f"/grid/{grid_id}/history")
|
||||
response.raise_for_status()
|
||||
return response.json()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
import base64
|
||||
|
||||
Reference in New Issue
Block a user