简体   繁体   中英

How to get camera on which known photo was taken

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?

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>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM