Sdks
SDKs & Libraries
Client libraries and tools
SDKs & Libraries
Official SDKs for LxBlog are coming soon. In the meantime, the REST API can be used with any HTTP client in any programming language. Below are quick-reference examples to get you started.
Quick reference
The following examples show how to fetch your published articles using a simple GET /api/v1/articles request with Bearer token authentication.
JavaScript / TypeScript
const response = await fetch('https://lxblog.app/api/v1/articles', {
headers: {
Authorization: 'Bearer lxb_at_your_access_token',
},
});
const data = await response.json();
console.log(data.articles);Python
import requests
response = requests.get(
'https://lxblog.app/api/v1/articles',
headers={
'Authorization': 'Bearer lxb_at_your_access_token',
},
)
data = response.json()
print(data['articles'])cURL
curl https://lxblog.app/api/v1/articles \
-H "Authorization: Bearer lxb_at_your_access_token"MCP Server
LxBlog includes a built-in MCP (Model Context Protocol) server that allows AI assistants like Claude, Cursor, and other MCP-compatible clients to interact with your blog content directly. See the MCP Server documentation for setup instructions and available tools.
Want to contribute an SDK? We welcome community libraries in any language. Reach out via GitHub and we will be happy to list your project here.