#api
25 pages tagged api.
JSON
Text-based data interchange format derived from JavaScript object literals and standardised as RFC 8259 / ECMA-404.
Cloud Computing
On-demand, network-accessible, metered access to a shared pool of configurable compute, storage, and platform services.
litestar
Package-level reference for Litestar on PyPI — install variants, version policy, the `[full]` extra, ecosystem companions, and alternatives.
google-genai
Package-level reference for google-genai (the current Gemini SDK) and its predecessor google-generativeai — install, auth, versioning, and alternatives.
flask
Package-level reference for Flask on PyPI — install variants, version policy, extension ecosystem, and alternatives.
fastapi
Package-level reference for FastAPI on PyPI — install variants, version policy, the `[all]` extra, ecosystem companions, and alternatives.
django
Package-level reference for Django on PyPI — install variants, LTS release cadence, ecosystem companions, and alternatives.
requests
Make HTTP requests in Python with the requests library. Covers GET/POST, JSON, sessions, authentication, retries, and common pitfalls.
jq
Slice, filter, map, and transform JSON data from the command line. Covers all essential filters, built-in functions, select, map, reduce, streaming, jq 1.7/1.8 additions, and real-world API response processing.
httpx
Make sync and async HTTP requests with httpx. Covers GET/POST, async usage, HTTP/2, streaming, and how it compares to requests.
HTTP
The request/response protocol that carries almost every API, page, and download on the modern internet — methods, status codes, headers, caching, and three wire formats (HTTP/1.1, HTTP/2, HTTP/3).
flask
Build lightweight web apps and REST APIs with Flask. Covers routes, request handling, JSON responses, blueprints, and the debug-server warning.
fastapi
Build high-performance async REST APIs with FastAPI. Covers path params, request bodies, Pydantic models, dependency injection, and auto-generated OpenAPI docs.
curl
Transfer data with URLs. Covers HTTP methods, headers, authentication, forms, TLS, cookies, proxies, timeouts, parallel downloads, and a comprehensive recipe collection.
Claude Tool Use (Function Calling)
Define tools, handle tool calls, run agentic loops, use parallel tools, and manage errors with the Claude API.
Claude API
Complete TypeScript SDK reference for the Anthropic Claude API — install, messages.create, streaming, tool use, vision, types, and Node/Deno/Bun integration.
Claude API
Streaming responses from the Anthropic API — server-sent events, event types, async iteration in Python and TypeScript, partial tool input, error handling, and retry strategies.
Claude API
Complete Python SDK reference for the Anthropic Claude API — messages, streaming, vision, extended thinking, prompt caching, batch processing, and token counting.
Claude API
Anthropic prompt caching — `cache_control`, 5-minute TTL, 1-hour beta, cache breakpoints, cost math, multi-turn caching patterns, and recipes for system prompts, tools, and documents.
Claude API
The Anthropic Claude API — Python and TypeScript SDKs, streaming, tool use, batches, prompt caching, files, vision, and agentic loops.
Claude API
The Anthropic Files API — upload PDFs, images, and text once and reference them by `file_id` across multiple messages, with citations, lifecycle management, and Workbench integration.
Claude API
The Anthropic Message Batches API — create, poll, retrieve, and stream results at 50% off list price for asynchronous bulk processing of thousands of Claude requests.
litestar
Build fast, type-safe HTTP APIs and web apps with Litestar. Covers route handlers, path/query/body params, DTOs, dependency injection, middleware, WebSockets, and OpenAPI.
google-generativeai
Call Google's Gemini models from Python for text, multimodal, streaming, chat, function calling, and embeddings. Covers the genai SDK, safety settings, file API, and async usage.
Fetch API
The browser and Node 18+ built-in HTTP client that returns Promises. Covers GET/POST/PUT/DELETE, headers, error handling, streaming, AbortController, uploads, credentials, and CORS.