Skip to content

A simple Python script that uses a SQLite database of Menu Link IDs (MLIDs) and names to retrieve information from the Digital Public Library of America (DPLA) using the DPLA API. The script exports found data into a CSV. An example SQLite database and CSV output file are given.

License

Notifications You must be signed in to change notification settings

marriott-library/simple-dpla-data-gathering-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DPLA Data Gathering Script

A simple Python script that uses a SQLite database of Menu Link IDs (MLID) and names to retrieve information from the Digital Public Library of America (DPLA) using the DPLA API. The script exports found data into a CSV.

An example SQLite database and CSV output file are given.

Getting Started

The script uses a SQLite3 database (dpla.sqlite3) for incoming data. It uses one table (dpla) with two columns (mlid, and name). A free GUI-based SQLite3 editor is available at http://sqlitebrowser.org.

The script also requires a DPLA API key. This can be used by either modifying the line in the script that begins with dp_api_key = or by adding the key to an environmental variable named DP_API_KEY.

Prerequisites

Authors

License

This project is licensed under the Apache 2.0 license - see the LICENSE.md file for details

About

A simple Python script that uses a SQLite database of Menu Link IDs (MLIDs) and names to retrieve information from the Digital Public Library of America (DPLA) using the DPLA API. The script exports found data into a CSV. An example SQLite database and CSV output file are given.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages