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 | Provenance | Actions |
|---|---|---|---|---|
| upland-api-1.1.1.tar.gz | 10.7 kB | Without provenance | Details for upland-api-1.1.1.tar.gz |
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
|
Security for upland-api 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.