ExifReader

FREEMIUM
От Jake Watkins | Обновлено 한 달 전 | Tools
Популярность

8.9 / 10

Задержка

1,577ms

Уровень обслуживания

99%

Health Check

N/A

ПРОЧТИ МЕНЯ

Make a request containing a single image to return a json object containing all the metadata.

For example,

import requests

url = 'https://exifreader.p.rapidapi.com/Exif'
myobj = {'file': open('C:\\xxxxxxx\\image.jpg', 'rb')}
headers = {
    'x-rapidapi-host': "xxxxxxx",
    'x-rapidapi-key': "xxxxxxx",
    }

json = requests.post(url, files = myobj, headers=headers).text
print(json)

May return this:
(very abridged)

[
  {
    "Name": "JPEG",
    "Parent": null,
    "IsEmpty": false,
    "Tags": [
    ],
    "TagCount": 8,
    "HasError": false,
    "Errors": []
  },
  {
    "Name": "GPS",
    "Parent": {},
    "IsEmpty": false,
    "Tags": [
      {
        "Type": 0,
        "TagType": 0,
        "Description": "2.200",
        "HasName": true,
        "HasTagName": true,
        "Name": "GPS Version ID",
        "TagName": "GPS Version ID",
        "DirectoryName": "GPS"
      },
      {
        "Type": 1,
        "TagType": 1,
        "Description": "S",
        "HasName": true,
        "HasTagName": true,
        "Name": "GPS Latitude Ref",
        "TagName": "GPS Latitude Ref",
        "DirectoryName": "GPS"
      },
      {
        "Type": 2,
        "TagType": 2,
        "Description": "0° 22' 16.68\"",
        "HasName": true,
        "HasTagName": true,
        "Name": "GPS Latitude",
        "TagName": "GPS Latitude",
        "DirectoryName": "GPS"
      },
      {
        "Type": 3,
        "TagType": 3,
        "Description": "E",
        "HasName": true,
        "HasTagName": true,
        "Name": "GPS Longitude Ref",
        "TagName": "GPS Longitude Ref",
        "DirectoryName": "GPS"
      },
      {
        "Type": 4,
        "TagType": 4,
        "Description": "36° 3' 23.1\"",
        "HasName": true,
        "HasTagName": true,
        "Name": "GPS Longitude",
        "TagName": "GPS Longitude",
        "DirectoryName": "GPS"
      }
    ],
    "TagCount": 5,
    "HasError": false,
    "Errors": []
  }
]
Подписчики: 0
Создатель API:
Rapid account: Jake Watkins
Jake Watkins
jakewatkinsandstuff
Войдите, чтобы оценить API
Оценки: 5 - Голосов: 1