Skip to content

Flick API for populating redis with images from the British Library

Notifications You must be signed in to change notification settings

abhillman/bliberedis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project in early stage. Uses Flickr's API to populate Redis KV-store hashes (and ordered set) with information about images in the British Library's collection of out-of-copyright images. Access to the API is multithreaded to facilitate multiple open connections at once for speed.

Execution notes:

  • Be sure to get and set an API key from flickr within populate.py
  • Only gets the first 500 images...
  • Requirements include
    • flickr.py (included!)
    • running instance of redis
    • redis python package
    • simplejson

Bugs are:

  • Some errors are not caught (i.e. IOError from socket)
  • Sometimes program does not terminate if there is an uncaught error

Other TODO items:

  • Look at optimizing API access... currently using existing flickr.py, non-multithreaded

About

Flick API for populating redis with images from the British Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages