How to get camera on which known photo was taken

73 Views Asked by At

my question concerns the API of flickr.com. Type of camera is visible below each photo directly on the site, but I do not see any method in the API which allow to obtain it from my application. Does anybody know the solution?

1

There are 1 best solutions below

0
David Gorsline On BEST ANSWER

Use the flickr.photos.getExif endpoint, and then examine the tag="Make" and tag="Model" data that you get back. An example snippet of returned data:

<exif tagspace="IFD0" tagspaceid="0" tag="Make" label="Make">
  <raw>NIKON</raw>
</exif>
<exif tagspace="IFD0" tagspaceid="0" tag="Model" label="Model">
  <raw>COOLPIX L620</raw>
</exif>