XMP parser
This API allows you to input an image URL and check the key metadata injected in the content. You need both the Capture Token and the URL of the API for this process. If you do not already have a Capture Token yet, please follow the instruction provided to create one.
In this example, you would replace YOUR_CAPTURE_TOKEN
with your actual Capture token and URL_OF_FILE
with the URL you want to check.
How does API read the metadata
This API uses piexif
python module to read the metadata injected in the image. The following table shows the mapping between the raw fields defined by EXIF and the response.
Raw data | Return field | Description | Type |
---|---|---|---|
ImageDescription | abstract | Short description of the content | string |
XPTitle | headline | Title of the content | string |
Artist | assetCreator | The name of the camera owner, photographer or image creator | string |
DateTimeOriginal | integrity_created_at | The date and time when the original image data was generated. | timestamp |
GPSInfo.GPSLongitude | integrity_location_longitude | Location longitude | float |
GPSInfo.GPSLatitude | integrity_location_latitude | Location latitude | float |
Model | integrity_device_model | The model name or model number of the equipment. | string |
Make | integrity_device_manufacturer | The manufacturer of the recording equipment. | string |
XPAuthor | integrity_recorder | The person who record the metadata information | string |
Last updated