0

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?

  • It's likely the camera type is being retrieved from the EXIF data inside the image file. There's plenty of sample code online on how to read EXIF data. – Paul Abbott May 16 '16 at 15:51

1 Answers1

0

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>
David Gorsline
  • 4,933
  • 12
  • 31
  • 36