Skip to content

area polygon

robert-valueguard edited this page Apr 9, 2024 · 6 revisions

The code below gives an example of how to use the client to get area information polygon data

import valueguard

vgClient = valueguard.Client()
vgClient.authenticate("<username>", "<password>")

print(vgClient.area_polygon(search_criteria={
"area_ids":'1,2,3'
}))

Field list

Field name Description Example
area_id ID of area 0180C4830
area_name Name of area 6

Required search criteria fields

Field name Description Example
area_ids List of area IDs {1, 2, 3}
limit Max number of objects returned 10000

Raw request

Get

curl https://api.valueguard.se/v1/area/polygon?access_token={access_token}&area_ids={area_ids}
Clone this wiki locally