Skip to content
robert-valueguard edited this page Aug 15, 2022 · 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={
"name":"Huddinge"
}))

Search criteria fields

Field name Description Example
name Name of area Huddinge
id ID of area 6
key Key of area 0126
category_id ID of category 1
category_name Name of category municipality

Raw request

Get

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