News for hackers. Stuff that matters.
Re:Things I’ve learned in my 20 years as a software engineer by mvcatsifma on Friday October 08, 2021 @11:15AM (#28800221)
I believe such an API already exists: https://pdftables.com/ (no affiliation).

Went to a presentation at a Golang meetup in Amsterdam by the guys behind this company. Seemed to know their stuff. But I have no real world experience using it.

Re:Things I’ve learned in my 20 years as a software engineer by vic-traill on Friday October 08, 2021 @11:30AM (#28800360)
I had a look - from their FAQ [0]:

However, some PDFs are scanned documents, or only contain images. PDFTables doesn't perform Optical Character Recognition (OCR) to turn these images into text.

To process these kinds of documents, you will need to either enable OCR in your scanning software, or run the PDF through specialist OCR software before using PDFTables.

[0] https://pdftables.com/faq