Some technical details

  • You will of course need your flickr api key which you can find at:
    • https://www.flickr.com/services/apps/by/<yourid>
  • backup-RolandsPublicPhotoMetaDataByYear.rb flattens the JSON output from the flickr API. Luckily there’s only 1 thing that has to be flattened which is:
  • photo["description"]["_content"] which is flattened to photo["description_content"]
bundle install
bundle exec ./backup-RolandsPublicPhotoMetaDataByYear.rb 2020 # output: 2020-roland-flickr-metadata.csv
bundle exec ./backup-RolandsPublicPhotoMetaDataByYear.rb 2019 # output: 2019-roland-flickr-metadata.csv

Leave a comment on github