Skip to content

Instantly share code, notes, and snippets.

@ducan-ne
Created September 12, 2024 10:58
Show Gist options
  • Save ducan-ne/8bcfe94b7e5f2aaa23d9d83983912f8d to your computer and use it in GitHub Desktop.
Save ducan-ne/8bcfe94b7e5f2aaa23d9d83983912f8d to your computer and use it in GitHub Desktop.
pdf html
<html style="color:green;" lang="en">
<head>
<title>Getting Started with Api2Pdf.com</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.1/css/bootstrap.min.css" />
</head>
<body>
<div class="container">
<div class="row justify-content-md-center text-center">
<img src="https://api2pdf.wpenginepowered.com/wp-content/themes/api2pdf/assets/images/logo.png" />
</div>
<div class="page-header">
<h2> Quick Start Guide</h2>
</div>
<p class="lead"><a href="https://www.api2pdf.com/documentation">REST API</a> | <a href="https://github.com/Api2Pdf/api2pdf.python">Python</a> | <a href="https://github.com/Api2Pdf/api2pdf.dotnet">.NET</a> | <a href="https://github.com/Api2Pdf/api2pdf.node">Nodejs</a> | <a href="https://github.com/Api2Pdf/api2pdf.php">PHP</a></p>
<h3>What is Api2Pdf.com?</h2>
<p>Api2Pdf.com is a REST API for instantly generating PDF documents from HTML, URLs, Microsoft Office Documents (Word, Excel, Powerpoint), and images. The API also supports merge / concatenation of two or more PDFs. Api2Pdf is a wrapper for popular libraries such as <strong>wkhtmltopdf</strong>, <strong>Headless Chrome</strong>, and <strong>LibreOffice</strong>. You can also generate barcodes and QR codes with Zebra Crossing (ZXING).</p>
<h3>Acquire API Key</h3>
<p>
Create an account at <a href="https://portal.api2pdf.com/register">portal.api2pdf.com</a> to get your API key. It only takes a minute.
</p>
<h3>Test the API</h3>
<p>From the URL below, replace {YourApiKey} with your API key you acquired and then copy and paste the URL below into a new browser window to test a simple GET request.
</p>
<code>
https://v2018.api2pdf.com/chrome/url?url=https://www.github.com&apikey={YourApiKey}
</code>
<h3>Next Steps</h3>
<p>Check out the <a href="http://www.api2pdf.com/documentation">REST API docs</a> to see details on the other API calls available along with any advanced options and settings you can use. We also offer convenient packages in <a href="https://github.com/Api2Pdf/api2pdf.python">Python</a>, <a href="https://github.com/Api2Pdf/api2pdf.dotnet">.NET</a>, <a href="https://github.com/Api2Pdf/api2pdf.node">Nodejs</a>, and <a href="https://github.com/Api2Pdf/api2pdf.php">PHP</a>. If you have any questions or issues, please reach out to <strong>support@api2pdf.com</strong>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment