Documentation Index
Fetch the complete documentation index at: https://docs.law4devs.eu/llms.txt
Use this file to discover all available pages before exploring further.
API Key Required
Every request to the Law4Devs API must include a valid API key. Pass it via the X-API-Key header:
curl -H "X-API-Key: YOUR_API_KEY" \
https://api.law4devs.eu/v1/frameworks
from law4devs import Law4DevsClient
client = Law4DevsClient(api_key="YOUR_API_KEY")
import { Law4DevsClient } from 'law4devs';
const client = new Law4DevsClient({ apiKey: 'YOUR_API_KEY' });
use Law4Devs\Client;
$client = new Client(apiKey: 'YOUR_API_KEY');
Never hardcode your API key in source code. Use environment variables.
Environment Variables
import os
from law4devs import Law4DevsClient
client = Law4DevsClient(api_key=os.environ["LAW4DEVS_API_KEY"])
import { Law4DevsClient } from 'law4devs';
const client = new Law4DevsClient({
apiKey: process.env.LAW4DEVS_API_KEY!,
});
use Law4Devs\Client;
$client = new Client(apiKey: getenv('LAW4DEVS_API_KEY'));
Get your API key at law4devs.eu.