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 import UplandDevelopersAPI
>>> from upland_api import UplandPublicAPI
>>>
>>> UplandDevAPI = UplandDevelopersAPI(api_key="XXXX", logging=True)
>>> UplandPubAPI = UplandPublicAPI(api_key="XXXX", logging=True)
Available Resources
>> UplandDevAPI.auth
>> UplandDevAPI.buildings
>> UplandDevAPI.cities
>> UplandDevAPI.collections
>> UplandDevAPI.containers
>> UplandDevAPI.neighborhoods
>> UplandDevAPI.properties
>> UplandDevAPI.tracks
>> UplandDevAPI.treasures_history
>> UplandDevAPI.user
>> UplandPubAPI.feature
>> UplandPubAPI.settings
Examples
Get properties
- Get properties in San Francisco (City ID: 1)
>>> r = UplandDevAPI.properties.get_properties(cityId=1)
>>> r
Get Neighborhoods
- Get neighborhoods in San Francisco (City ID: 1)
>>> r = UplandDevAPI.neighborhoods.get_neighborhoods(cityId=1)
>>> r
- Get all neighborhoods
>>> r = UplandDevAPI.neighborhoods.get_neighborhoods()
>>> r
- Get neighborhoods by name
>>> r = UplandDevAPI.neighborhoods.get_neighborhoods(textSearch="Financial")
>>> r
- Get neighborhoods by city and name
>>> r = UplandDevAPI.neighborhoods.get_neighborhoods(cityId=1, textSearch="Financial")
>>> r
Metadata
Release files for upland-api 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| upland-api-1.1.1.tar.gz | 10.7 kB | Details |
Release files / upland-api-1.1.1.tar.gz
| Download URL | upland-api-1.1.1.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1383ccca11bebc514c48e3f13277b78c34497b9b26c66edd7266fab046fa8a0
|
|
BLAKE2b-256 checksum How to use checksums |
2f2cffbda42152e8bb658bba2bda93abab666f25f779f663674c13e05b3a88d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.3
|