Project
Returns metadata for the project.
proj = client.project()Returns
Project with the following attributes:
| Attribute | Type | Description |
|---|---|---|
proj_id |
int |
Project ID |
proj_name |
str |
Project name |
area |
int |
Project area |
city |
str |
Project city |
tz |
str |
Project timezone |
usage |
int |
Current data point usage |
capacity |
int |
Total data point capacity |
max_trend_years |
int |
Years of trend data retained for this project |
Example
proj = client.project()
print(proj.proj_name) # "Acme HQ"
print(proj.area) # 145000
print(proj.city) # "Richmond, VA"
print(proj.tz) # "New_York"
print(proj.usage) # 1200
print(proj.capacity) # 5000
print(proj.max_trend_years) # 3