https://github.com/tabulapdf/tabula-api
REST endpoint for Tabula
https://github.com/tabulapdf/tabula-api
Last synced: about 1 year ago
JSON representation
REST endpoint for Tabula
- Host: GitHub
- URL: https://github.com/tabulapdf/tabula-api
- Owner: tabulapdf
- License: mit
- Created: 2014-02-26T01:36:12.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2019-03-30T17:58:08.000Z (about 7 years ago)
- Last Synced: 2024-10-29T22:38:14.634Z (over 1 year ago)
- Language: Ruby
- Size: 251 KB
- Stars: 25
- Watchers: 10
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Tabula API
==========
**Important**: `tabula-api` is not yet functional.
## Methods
```
GET /documents
Returns all the documents stored in Tabula
parameters:
POST /documents
Upload a PDF
parameters:
* file: (required)
GET /documents/:uuid
An uploaded document
parameters:
* uuid:
GET /documents/:uuid/document
Download the original PDF
parameters:
* uuid:
DELETE /documents/:uuid
Delete an uploaded document
parameters:
* uuid:
POST /documents/:uuid/tables
Extract tables
parameters:
* uuid:
* coords: (required)
* extraction_method:
DELETE /documents/:uuid/pages/:number
Delete a page from a document
parameters:
* uuid:
* number: (required)
```
## Installation
sqlite3 ../../.tabula/tabula_api.db
bundle exec sequel -m db/migrations/ jdbc:sqlite:../../.tabula/tabula_api.db
### Run dev server
```
rackup
```