Openverse is a search engine for openly-licensed media.
The OpenverseOpenverseOpenverse is a search engine for openly-licensed media, including images and audio. Find Openverse on GitHub and at https://openverse.org. team builds the Openverse Catalog, APIAPIAn API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways., and front-end application, as well as integrations between Openverse and WordPress. Follow this site for updates and discussions on the project.
You can also come chat with us in #openverse on the Make WP Chat. We have a weekly developer chat at 15:00 UTC on Mondays.
We call the Phylopic APIAPIAn API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways. in two different ways:
We extract a list of UUIDs from the response to the first request, which we then use to construct subsequent requests (of the form shown second above filling in an extracted UUID for ITEM_UUID).
The response to a UUID-specified request is a JSONJSONJSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML. with the following form:
Below is a table showing the mapping from metadata returned by the API to columns in the image table in PostgreSQL. Fields from the above json are preceded by ‘$’ to mark them.
Column | Comes From
-------------------------|-------------------------------
foreign_identifier | $result.pngFiles[i].url (prefer the largest available)
foreign_landing_url | 'http://phylopic.org/image/' + $result.uid
url | $result.pngFiles[i].url (prefer the largest available)
thumbnail | $result.pngFiles[i2].url (only take width 256)
width | $result.pngFiles[i].width (same as url)
height | $result.pngFiles[i].height (same as url)
license | extracted from $result.licenseURL
license_version | extracted from $result.licenseURL
creator | $result.submitter.firstName + ' ' + $result.submitter.lastName
title | $result.taxa[0].canonicalName.string
meta_data | See below
meta_data field
The meta_data field is a JSON of the following form: