Python client for interacting with Widen v2 API
Project description
Widen Client
A Python client for interacting with Widen v2 API.
Documentation: https://widenv2.docs.apiary.io/#
Installation
This client is privately hosted. To install, run
pipenv install -e git+ssh://git@github.com/gagosian/widen-client.git#egg=widen-client
Usage
from widen_client import Widen
widen = Widen(access_token='...')
widen.assets.search('dBnumber:CHUNG 2021.0001')
widen.assets.get('46579cd6-f58d-49ed-b4af-ea32c84ab20f')
widen.assets.get_metadata('46579cd6-f58d-49ed-b4af-ea32c84ab20f')
widen.assets.update_metadata('46579cd6-f58d-49ed-b4af-ea32c84ab20f', {
'fields': {
'alternateCatalogNumber': [],
'artist': ['Prince, Richard'],
'artistEndYear': ['2004'],
'artworkParentheticalTitle': [''],
'artworkTitle': ['Untitled'],
'artworkType': ['sculpture'],
'description': ['This is not a dog.'],
}
})
Available Entities
The following entities are available:
- Assets (
/assets/) - Metadata (
/metadata/)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
widen_client-0.0.15.tar.gz
(8.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file widen_client-0.0.15.tar.gz.
File metadata
- Download URL: widen_client-0.0.15.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07eb1173695cab9c99a26842baaa31e1882730c77227260aa23bca7d27d7b5e4
|
|
| MD5 |
245a712bba99eb2e5b04dee380c8664f
|
|
| BLAKE2b-256 |
448ac7abe7174ab4f2adc9cc7d319ca3503ffaebdd92ceb74630e12b020b4c34
|
File details
Details for the file widen_client-0.0.15-py3-none-any.whl.
File metadata
- Download URL: widen_client-0.0.15-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ca168d8e73a846112ae3e1fd012384bae889a0781012bb451394fd5909b738e
|
|
| MD5 |
0a0babb76c441457c6797070154f89f5
|
|
| BLAKE2b-256 |
302f0bea6da5df933e4b52617b0277067887530e0a8a38bc2fd2bfb346546ace
|