Skip to content

Commit 9fd276e

Browse files
Update docs/client.md
1 parent 776a2c8 commit 9fd276e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/client.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,23 @@ async def example():
124124
await client.delete_app_file(app_id='application_id', path='/file.txt')
125125
```
126126

127+
---
128+
129+
### Squarecloud Statistics
130+
131+
you can get the squarecloud statistics using `Client.statistics()`
132+
133+
```python
134+
import squarecloud as square
135+
136+
client = square.Client(api_key='API KEY')
137+
138+
139+
async def example():
140+
statistics = await client.statistics()
141+
print(statistics) # StatisticsData(...)
142+
```
143+
127144
___
128145

129146
### Debug mode

0 commit comments

Comments
 (0)