SDKs & Libraries
Official client libraries to integrate APIVerve APIs into your applications with minimal code. Each SDK provides type-safe wrappers, automatic authentication, and built-in error handling.
Available SDKs
APIVerve provides official SDKs for popular programming languages. Each SDK is published on the respective package manager and includes comprehensive documentation.
Node.js
For JavaScript and TypeScript applications. Works with Node.js, Deno, and Bun.
npm install apivervePython
For Python 3.7+ applications. Supports async/await and type hints.
pip install apivervePHP
For PHP 7.4+ applications. Compatible with Laravel, Symfony, and WordPress.
composer require apiverve/apiverveGo
For Go 1.18+ applications. Fully typed with generics support.
go get github.com/apiverve/apiverve-goQuick Start Examples
Get started quickly with these code examples for each SDK.
Node.js Example
const APIVerve = require('apiverve');
const client = new APIVerve({
apiKey: 'your_api_key_here'
});
// Example: Get weather data
const weather = await client.weather.get({
city: 'New York'
});
console.log(weather.data);Python Example
import apiverve
client = apiverve.Client(api_key="your_api_key_here")
# Example: Get weather data
weather = client.weather.get(city="New York")
print(weather.data)PHP Example
<?php
require_once 'vendor/autoload.php';
use APIVerve\Client;
$client = new Client('your_api_key_here');
// Example: Get weather data
$weather = $client->weather->get(['city' => 'New York']);
print_r($weather->data);SDK Features
All official APIVerve SDKs include these features:
- Type Safety: Full type definitions for TypeScript, Python type hints, and PHP DocBlocks
- Automatic Authentication: Configure your API key once and all requests are automatically authenticated
- Error Handling: Consistent error responses with detailed error messages and error codes
- Rate Limit Handling: Built-in retry logic with exponential backoff for rate-limited requests
- Response Parsing: Automatic JSON parsing with typed response objects
- Async Support: Native async/await support where available
Each API also has its own dedicated package for lightweight integration. Visit the API reference page for any API to find its specific SDK package.
Using APIs Without an SDK
Don't see your language? You can still use APIVerve APIs directly via HTTP requests. All APIVerve APIs are standard REST endpoints that work with any HTTP client.
curl -X GET "https://api.apiverve.com/v1/weather?city=New%20York" \
-H "X-API-Key: your_api_key_here"See our Making Requests guide for detailed examples in multiple languages.
Getting Help
Need help with an SDK or want to report a bug?
- GitHub Issues: Report bugs or request features on the SDK's GitHub repository
- Documentation: Each SDK includes README documentation with detailed usage examples
- Support: Contact our support team for integration help
Was this page helpful?
Help us improve our documentation