PDFInfo
Example of request
https://api.kremilly.com/pdfinfo?pdf=YOUR_PDF_URL
A simple example of use in JavaScript
// Replace "YOUR_PDF_URL" for your pdf url
fetch('https://api.kremilly.com/pdfinfo?pdf=YOUR_PDF_URL').then(
   json => json.json()
).then(callback => { 
   console.log(callback) 
})
[!note] See here others examples in others languages and using Axios.js
Simple output of request:
{
  "encrypted": false,
  "name": "Karen_e_Priscila.pdf",
  "pages": 77,
  "size": "245 KB",
  "status_code": 200,
  "url": "https://www.mackenzie.br/fileadmin/OLD/47/Graduacao/CCBS/Cursos/Ciencias_Biologicas/1o_2012/Biblioteca_TCC_Lic/2009/2o_Semestre/Karen_e_Priscila.pdf"
}
Queries Parameters
- pdfSet the your PDF url
Data returned by the API
- namePDF file name
- encryptedReturn if the file is password-protected
- sizePDF file size
- pagesDocument total of page
- status_codeHTTP status code of document
- urlPDF file url