Commit d89006e5 authored by Rafal's avatar Rafal

Add restauration unpack

parent ea98c3e1
......@@ -31,4 +31,10 @@ class API(BaseAPI):
result['latitude'] = property['value']
elif property['key'] == 'OADR_GPS_D':
result['longitude'] = property['value']
elif property['key'] == 'OADR_MIASTO':
result['city'] = property['value']
elif property['key'] == 'OADR_ULICA':
result['street'] = property['value']
elif property['key'] == 'OADR_NR':
result['nr'] = property['value']
return result
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment