AllBeAPI Documentation
Welcome to the comprehensive documentation for AllBeAPI - your lightweight universal SDK for integrating popular third-party libraries.
New to AllBeAPI? Start with our Getting Started Guide for a quick introduction.
What is AllBeAPI?
AllBeAPI is a lightweight, universal SDK that provides a unified interface to access a wide range of commonly used third-party libraries. Instead of learning and managing multiple individual libraries, AllBeAPI offers:
- Unified Interface: Consistent API across all integrated libraries
- Multiple SDKs: Support for JavaScript, Python, and direct REST API calls
- 13+ Integrations: Popular libraries for common development tasks
- Easy to Use: Simple installation and minimal configuration
Architecture
AllBeAPI follows a microservices architecture where each integrated library runs as a separate service:
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β JavaScript β β Python β β REST API β
β SDK β β SDK β β Client β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β β β
βββββββββββββββββββββββββΌββββββββββββββββββββββββ
β
βββββββββββββββββββ
β AllBeAPI β
β Gateway β
βββββββββββββββββββ
β
βββββββββββββββββββββββββΌββββββββββββββββββββββββ
β β β
βββββββββββββββ βββββββββββββββ βββββββββββββββ βββββββββββββββ
β Marked β β BeautifulSoupβ β Prettier β β ... β
β Service β β Service β β Service β β Services β
βββββββββββββββ βββββββββββββββ βββββββββββββββ βββββββββββββββ
Supported Libraries
AllBeAPI currently integrates the following popular libraries:
Text Processing
4 APIs- POST Marked.js - Markdown to HTML
- POST Prettier - Code formatting
- POST Pygments - Syntax highlighting
- POST Diff - Text comparison
Data Processing
4 APIs- POST BeautifulSoup - HTML parsing
- POST CSV Parser - CSV to JSON
- POST Ajv - JSON validation
- POST ESLint - Code linting
Media Generation
3 APIs- POST QR Code - Image generation
- POST Mermaid - Diagram creation
- POST PDFKit - PDF generation
Security & Utils
2 APIs- POST Sanitize HTML - XSS protection
- POST Pillow - Image processing
Quick Example
Here's a simple example showing how to use AllBeAPI with the JavaScript SDK:
// Initialize the AllBeAPI client
const api = new AllBeApi();
// Convert Markdown to HTML
const markdown = "# Hello World\nThis is **bold** text.";
const htmlResult = await api.marked.render(markdown);
console.log(htmlResult);
// Generate a QR code
const qrBlob = await api.pythonQrcode.generateQrcode("https://allbeapi.com");
const imageUrl = URL.createObjectURL(qrBlob);
// Display the QR code
const img = document.createElement('img');
img.src = imageUrl;
document.body.appendChild(img);