Step 1 – Source Code
Step 2 – Add API Key
Next, go to line 21 and add your PDF.co API Key. You can get it in the PDF.co dashboard here.
Step 3 – Add Source URL
Then, add the scanned PDF URL in line 26.
Step 4 – Destination File
Finally, add the output file destination in line 32.
Step 5 – Demo
Here’s a quick demo to see PDF to Text Web API in action.