Development Guides

Step-by-step tutorials and best practices for using Edzha Tools in your projects.

Explore Our Documentation

Getting Started 🔧

1

Create Your Account

Sign up for a free account to access development credentials and API keys.

curl -X POST "https://edzha.tools/api/v1/register" \\\n-H "Content-Type: application/json" \\\n-d '{"email":"you@example.com","password":"secure123"}'
2

Generate API Key

Access your dashboard to generate and manage API keys for authentication.

GET /api/v1/keys \nAuthorization: Bearer YOUR_JWT_TOKEN
3

Make First Request

Use your API key to authenticate requests to our endpoints.

curl "https://api.edzha.tools/v1/analyze" \\\n -H "Authorization: Bearer YOUR_API_KEY" \\\n -H "Content-Type: application/json" \\\n -d '{"text":"Your content here"}'

API Usage 📘

Analyze Text Endpoint

Request

POST /api/v1/analyze
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "text": "Your input text",
  "options": {
    "sentiment": true,
    "keywords": true
  }
}

Response

{
  "sentiment": "positive",
  "keywords": ["technology", "innovation", "development"],
  "confidence": 0.92
}

Troubleshooting Tips

401 Unauthorized

  • Verify your API key is valid
  • Check the bearer token format
  • Ensure Authorization header is present

503 Service Unavailable

  • Check service status page
  • Retry after 30 seconds
  • Contact support if persistent

Best Practices 🎯

Caching Strategies

Implement local caching for frequently requested data to reduce API load.

Rate Limiting

Monitor and respect per-minute request limits in your integration code.

Max 60 requests per minute