Create PDF files from json or csv data.

FREEMIUM
By quodlibet
Updated 10 months ago
Tools
5.8/10
Popularity Score
17565ms
Latency
100%
Success Rate

Create PDF files from json or csv data. API Documentation

Easily create PDF's from csv or json files, or from csv or json strings. This allows you to very simply create invoices, or other pdf's with tables.

View API Details
GETcsv2pdf
GETcsv2pdf

Create a PDF from a json or csv file, or a json or csv string

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
urlSTRING
REQUIREDThe (public) url to get the csv file from
orientationSTRING
REQUIREDOrientation of pdf (portrait/landscape)
Optional Parameters
filenameSTRING
OPTIONALThe filename of the pdf to be created
titleAlignSTRING
OPTIONALHorizontal Alignment of the title
subtitleSTRING
OPTIONALThe subtitle. Following html tags are allowed : <b></b>,<i></i>,<ol><li></li></ol>, <ul><li></li></ul>,<p></p>,<br/>,<br>.
titleSTRING
OPTIONALThe title. Following html tags are allowed : <b></b>,<i></i>,<ol><li></li></ol>, <ul><li></li></ul>,<p></p>,<br/>,<br>.
subtitleAlignSTRING
OPTIONALHorizontal alignment of the subtitle
highlightFirstColumnBOOLEAN
OPTIONALHighlight the first column
highlightLastColumnBOOLEAN
OPTIONALHighligh the last column
dataSTRING
OPTIONALInstead of a url, you can pass the json or csv string to this parameter directly
templateSTRING
OPTIONALThe template for the layout of the pdf. Available templates are : relax,candy,green,red and pink
separatorSTRING
OPTIONALA character that is the separator for the csv data. By default ';' is used.
Code Snippet
Install SDK
Response Example

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication