Skip to content

Instantly share code, notes, and snippets.

@wcaleb
wcaleb / omekaclient.py
Last active September 19, 2019 18:30
Turn JSON from Omeka API items resource into CSV file
# https://github.com/jimsafley/omeka-client-py
import httplib2
import urllib
import mimetypes
class OmekaClient:
def __init__(self, endpoint, key=None):
self._endpoint = endpoint
self._key = key