Official SDKs
Slash offers official SDKs to make integrating with our API easier:- Python: slash-sdk on PyPI
- Node.js: slash-sdk on npm
Official Slash SDKs for Python and Node.js
pip install slash-sdk
npm install slash-sdk
from slash_sdk import SlashClient
client = SlashClient(api_key="your-api-key")
# Get your legal entity
legal_entity = client.legal_entity.get()
import { SlashClient } from 'slash-sdk';
const client = new SlashClient({ apiKey: 'your-api-key' });
// Get your legal entity
const legalEntity = await client.legalEntity.get();