Getting Started with WeighWare
Get WeighWare up and running in your application in under 5 minutes.
1. Sign Up & Get API Key
Create your WeighWare account and get your API key from the dashboard.
curl -X POST https://api.weighware.ai/v1/signup \
-H "Content-Type: application/json" \
-d '{"email": "you@company.com", "company": "Your Company"}'
2. Install SDK
Install the WeighWare SDK for your platform:
npm install @weighware/sdk
3. Initialize Client
import { WeighWareClient } from '@weighware/sdk'
const client = new WeighWareClient({
apiKey: 'your-api-key',
environment: 'production' // or 'sandbox'
})
4. Make Your First Request
const result = await client.predictWeight({
sku: 'ABC123',
title: 'Wireless Bluetooth Headphones',
description: 'Premium noise-canceling headphones...'
})
console.log(result.predictedWeight) // 0.45 lbs
Next Steps
- Explore the complete API Reference
- Set up webhooks for real-time updates
- Configure your shipping carriers
- Enable dangerous goods detection