DEVELOPER API & FONTAWESOME SDK

INTEGRATE PICPULSE INTO YOUR APPS!

Learn how to use semantic slugs, direct .PNG hotlinks, and drop-in <pic-icon> custom tags.

1

FontAwesome-Style JavaScript SDK

Include the script in your HTML <head> and render icons automatically by slug.

<script src="http://127.0.0.1:8000/api/v1/embed.js" data-api-key="YOUR_API_KEY"></script>

Custom Element Usage:

<pic-icon name="cute-cat-icon" size="48"></pic-icon>

Icon Class Usage:

<i class="pic-icon" data-name="cute-cat-icon"></i>

REST API & CODE SNIPPETS

<!-- 1. Include the PicPulse SDK in your HTML <head> -->
<script src="http://127.0.0.1:8000/api/v1/embed.js" data-api-key="pic_live_YOUR_KEY"></script>

<!-- 2. FontAwesome-style Icon Tags by semantic slug or category -->
<pic-icon name="cute-cat-avatar" size="48" alt="Cat Icon"></pic-icon>
<pic-icon name="brand-logo" category="Logos"></pic-icon>
<i class="pic-icon" data-name="search-icon"></i>
3

API Reference & CDN Endpoints

Pass X-API-KEY: pic_live_... in your request headers.

METHODENDPOINTDESCRIPTION
GET/cdn.php?slug={slug}High-speed direct CDN image stream with 304 caching
GET/api/v1/assets.php?category={cat}Query and filter images by category, format, or keyword
POST/api/v1/upload.phpProgrammatically upload images with custom slug and category