An open API service indexing awesome lists of open source software.

https://github.com/motdotla/carve-api

API to Convert PDFs into an array of PNGs.
https://github.com/motdotla/carve-api

Last synced: 7 months ago
JSON representation

API to Convert PDFs into an array of PNGs.

Awesome Lists containing this project

README

          

# carve-api

carve-api

API for converting PDFs into an array of PNGs. Works in tandem with [carve-worker](https://github.com/motdotla/carve-worker).

```
curl https://carve-api.herokuapp.com/api/v0/documents/create.json?url=http://mot.la/assets/resume.pdf&webhook=http://requestb.in/some-request-bin-url
```

View the [documentation](http://docs.carveapi.apiary.io/).

## Installation

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)

## Development

```
git clone https://github.com/motdotla/carve-api.git
cd carve-api
go get
cp .env.example .env
go run app.go
```

Edit the contents of `.env`.

## TODO

* validation on webhook and url
* url cleansing on webhook and url