Skip to main content

Python wrapper for Cleveland Museum of Art Open Access API

Project description

CMA

Simple Python wrapper for the Cleveland Museum of Art API.

Usage

Retrieve Artwork by ID or Accession Number

cma artwork --id 123985
{
    "id": 123985,
    "accession_number": "1944.485",
    "share_license_status": "CC0",
    "current_location": "ArtLens Exhibition A",
    "title": "The Wade Cup with Animated Script",
    ...snip...
}

cma artwork --id 1944.485
{
    "id": 123985,
    "accession_number": "1944.485",
    "share_license_status": "CC0",
    "current_location": "ArtLens Exhibition A",
    "title": "The Wade Cup with Animated Script",
    ...snip...
}

ASCII Preview

cma artwork --id 1944.485 --preview --pretty

Title: The Wade Cup with Animated Script
Type: Metalwork
Creator:
Culture: Iran, Seljuk Period, 13th Century
Link: https://openaccess-cdn.clevelandart.org/1944.485/1944.485_web.jpg
Preview:
################################################################################
###############################*******************##############################
#########################*********************************######################
#################**********************************************#################
############********************************************************############
########****************************************************************########
###**************************************************************************###
*************************************++*****************************************
***********######*+#*+++*+**++=+***++++=++-*++++++++*=+*++++***##%%*************
***********#*****+***+*++++++==+***++==+=+==++-=+++=++=*==++****##%*************
***********#****+***++*+=+=++==++===+=+**++=====+=**+*++=++***+*##%*************
***********######***#+*+**+++==+++==+=++++=++=+=+++++++++******####*++**********
+++++++++++**##*****+***#**++**++++*++++**+++*++=++++**+**+*+**##**++++++++++++*
+++++++++++++***+***+******+++**+*****++++=+**++++++++******###**+++++++++++++++
==============+******+++**+++**++**++++*++****+=+**+++++*++****+===============+
===-----------==+*****++++*++++++*+++++++++++++*+++*+++++***+==------------=====
-------------:::-=+***********++**++++*+++=-*=++++**++++*=++=-::::::------------
:::::::::::::::::::-=+***#***********+++***+*******+=++*+=-:::::::::::::::::::::
:::::::::::::::.......:--=+***#############%#%###*++==-:...............:::::::::
............................::-*####%##########*=:..............................
..............................:*******+**+****#*-...............................
..........:::::::::::::::::::-*##*#***+*=***#*###-:::::::::.....................
......:::::::::::::::::::::=*%##%%%%%%#%#%#%%%%%%%#+::::::::::..................
.............:::::::::::::::--=====++++++++=====--::::..........................
................................................................................
................................................................................

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

ClevelandMuseumArt-0.1.0.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

ClevelandMuseumArt-0.1.0-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page