-
Notifications
You must be signed in to change notification settings - Fork 1
area
robert-valueguard edited this page Apr 9, 2024
·
25 revisions
The code below gives an example of how to use the client to get area data
import valueguard
vgClient = valueguard.Client()
vgClient.authenticate("<username>", "<password>")
print(vgClient.area(search_criteria={
'ids': '1,2,3',
'names': '0760B2010',
'min_wgs84lat': '56.6674',
'max_wgs84lat': '58.5521',
'min_wgs84lon': '15.0121',
'max_wgs84lon': '15.9284',
'category_ids': '1, 2, 3'
}))
Field name | Description | Example |
---|---|---|
name | Name of area | Huddinge |
id | ID of area | 6 |
key | Key of area | 0126 |
category | Category of area | 1 |
boundary_wgs84_lat_min | Min lat of area | 60.0869 |
boundary_wgs84_lat_max | Max lat area | 60.8862 |
boundary_wgs84_lon_min | Min long area | 15.1421 |
boundary_wgs84_lon_max | Max long of area | 15.8382 |
size | Size of area | 0.010 |
Field name | Description | Example |
---|---|---|
ids | ID of areas | {1,2,3} |
category_ids | ID of categories | {1,2,3} |
min_wgs84lat | lowest allowed latitude | 56.6674 |
max_wgs84lat | highest allowed latitue | 58.5521 |
min_wgs84lon | lowest allowed longitude | 15.0121 |
max_wgs84lon | highest allowed longitude | 15.9284 |
limit | Max number of objects returned | 10000 |
curl https://api.valueguard.se/v1/area?access_token={access_token}&ids={id}
- General description
- Residential Registry
- Residential Registry Markups
- Residential Registry Valuations
- General description
- Index normalized
- Index definitions*
- Publishing calendar
- Best index
- Index recount
- Index statistics
- General description
- Area
- Area polygon
- Area category
- Area information
- Area information field
- Area information tag
- Area information dates
- Area map
*= only for internal use