Skip to content

edsu/storycorps-meta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

storycorps-meta

StoryCorps has collected over 50,000 interviews with over 90,000 Americans. It is one of the largest oral history projects of its kind. A small portion of the interviews are available on the Web and the entire archive is held by the American Folklife Center at the Library of Congress.

This is a simple program that calls the REST API that serves up their listen view, and saves the data as JSON-LD using the schema.org vocabulary. It also walks the stories that have been uploaded to their DIY service, which hosts audio on SoundCloud.

Here's an example of the json-ld for an interview:

    {
      "@id": "http://storycorps.org/listen/alton-yates-and-toni-yates/", 
      "@type": "RadioClip", 
      "name": "Alton Yates and Toni Yates",
      "description": "Alton Yates tells his daughter, Toni, about being part of a small group of Air...",
      "audio": "http://cdn.storycorps.org/wordpress/wp-content/uploads/yatesweb.mp3", 
      "image": "http://cdn.storycorps.org/wordpress/wp-content/uploads/yatesa3.jpg", 
      "about": [
        {
          "@id": "http://storycorps.org/themes/family", 
          "@type": "Thing", 
          "name": "Family"
        }, 
        {
          "@id": "http://storycorps.org/themes/griot", 
          "@type": "Thing", 
          "name": "Griot"
        }, 
        {
          "@id": "http://storycorps.org/themes/growing-up", 
          "@type": "Thing", 
          "name": "Growing Up"
        }, 
        {
          "@id": "http://storycorps.org/themes/military", 
          "@type": "Thing", 
          "name": "Military"
        }, 
        {
          "@id": "http://storycorps.org/themes/work", 
          "@type": "Thing", 
          "name": "Work"
        }
      ]
    } 

Run

% brew install pyenv-virtualenvwrapper
% mkvirtualenv storycorps-meta
% git clone http://github.com/edsu/storycorps-meta
% cd storycorps-meta
% pip install -r requirements.txt
% cp config.py.template config.py # and add soundcloud credentials
% ./storycorps.py
% cat storycorps.json

License

  • I'm not sure what the license is associated with this content. If you can figure it out please let me know!

About

collect public storycorps metadata and save as json-ld

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages