blob: 9b8bc64b5362c9cbb669a47c4e0dbdab244ba105 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
try:
from ovh import ovh
except ImportError:
# In case it's installed globally
import ovh
client = ovh.Client()
vps_list = client.get('/vps/')
for vps in vps_list:
print(vps)
|