Upland API Wrapper
Project description
Upland API Wrapper
upland-api is a Python wrapper for the Upland.me API endpoints. upland-api do currently only support the Developers API. upland-api works with Python >= 3.6
Installation
$ pip install upland-api
Usage
>>> from upland_api.developers import UplandDevelopersAPI
>>>
>>> api = UplandDevelopersAPI('your-api-key', server='development/ production')
Available Resources
>> api.auth
>> api.user
>> api.containers
>> api.tracks
>> api.buildings
>> api.cities
>> api.properties
>> api.neighborhoods
>> api.collections
>> api.treasures_history
Get properties
- Get properties in San Francisco (City ID: 1)
>>> r = api.properties.get(cityId=1)
>>> r
Get Neighborhoods
- Get neighborhoods in San Francisco (City ID: 1)
>>> r = api.neighborhoods.get(cityId=1)
>>> r
- Get all neighborhoods
>>> r = api.neighborhoods.get()
>>> r
- Get neighborhoods by name
>>> r = api.neighborhoods.get(textSearch="Financial")
>>> r
- Get neighborhoods by city and name
>>> r = api.neighborhoods.get(cityId=1, textSearch="Financial")
>>> r
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
upland-api-1.0.1.tar.gz
(5.9 kB
view hashes)