Coder Social home page Coder Social logo

rtwilson / pythonomekaapitocsv Goto Github PK

View Code? Open in Web Editor NEW

This project forked from omeka/pythonomekaapitocsv

0.0 1.0 0.0 36 KB

Python script for exporting metadata from Omeka to a CSV file via the Omeka API.

License: GNU General Public License v3.0

Python 100.00%

pythonomekaapitocsv's Introduction

Omeka API to CSV Script

This repo includes a Python script which allows users to generate CSV files of the metadata in their Omeka installations. It will retreive the metadata for items, collections, element sets, elements, files, tags, exhibits, and exhibit pages. However, it does not retreive the files themselves. Only the metadata associated with them.

Instructions

Download the ZIP of the the script from above, or from here

(Alternatively, you can clone this repository.)

Unzip the package somewhere on your local computer.

Open a command-line interface, and navigate to the newly created directory (/PythonOmekaApiToCsv).

Execute the script by entering the following command:

python omekacsv.py

You will now be prompted to enter your Omeka API endpoint

At this point, you are prompted to enter an Omeka API key. If you are using an API key to export non-public material, enter it now. If all of your materials are public, or you only want materials that are public, you may skip this step.

The script will now generate a series of CSV files for each of your resource types within the directory (/PythonOmekaApiToCsv)

Attribution

This script is based on the omekacsv.py which is mantained and was originally developed by Caleb McDaniel, http://wcm1.web.rice.edu. Original code can be found at https://github.com/wcaleb/omekadd

This script, as with Caleb's, imports the OmekaClient class from omekaclient.py, which is included in the repo. The development repo for the Omeka Client is maintained by Jim Safley, who wrote the original client.

pythonomekaapitocsv's People

Contributors

kalbers avatar wcaleb avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.