Skip to content

loeakaodas/tap-open-library

Repository files navigation

tap-open-library

This is a Singer tap that produces JSON-formatted data following the Singer spec.

This tap:

  • Pulls raw data from Open Library
  • Extracts the following resources:
  • Outputs the schema for each resource
  • Incrementally pulls data based on the input state

Usage

Git clone the repo:

$ git clone https://github.com/loeakaodas/tap-open-library.git

Create and activate a virtual environment for the tap:

$ cd tap-open-library
$ python3 -m venv ~/.virtualenvs/tap-open-library
$ source ~/.virtualenvs/tap-open-library/bin/activate

Install the package:

(tap-open-library) $ pip install -e .

Run the tap in discovery mode:

$ tap-open-library --config sameple_config.json --discover

Alternatively the output of discovery mode can be saved for use in sync mode:

$ tap-open-library --config sameple_config.json --discover > new_catalog.json

To run the tap in sync mode use the included sample_config.json and catalog.json file:

$ tap-open-library --config sameple_config.json --catalog catalog.json

Copyright © 2018 Stitch

About

A Singer tap for Open Libraries get-changes API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages