No description
- PHP 68.4%
- Blade 29.4%
- Shell 1.6%
- Dockerfile 0.4%
- CSS 0.1%
- Other 0.1%
Old key was exposed in public git history (commit
|
||
|---|---|---|
| agent-os | ||
| app | ||
| bootstrap | ||
| config | ||
| database | ||
| deploy-scripts | ||
| docs | ||
| public | ||
| resources | ||
| routes | ||
| storage/app/onsud | ||
| tests | ||
| .gitignore | ||
| artisan | ||
| CLAUDE.md | ||
| composer.json | ||
| composer.lock | ||
| Dockerfile | ||
| LOOKUP_IMPORT_FIX_SUMMARY.md | ||
| MONITORING_SETUP.md | ||
| package-lock.json | ||
| package.json | ||
| phpunit.xml | ||
| tailwind.config.js | ||
| vite.config.js | ||
LocaleLogic API Documentation
Welcome to the LocaleLogic API documentation. This directory contains comprehensive guides for integrating with our APIs.
Available Documentation
📘 API Documentation
Complete reference for the Postcode Lookup API including:
- Authentication details
- Endpoint specifications
- Response formats
- Error handling
- Examples and use cases
- Technical implementation notes
Best for: First-time integration, comprehensive reference, troubleshooting
⚡ Quick Reference Guide
Condensed cheat sheet with:
- Common request patterns
- Response structure
- Error codes table
- Quick copy-paste examples
Best for: Daily development, quick lookups, experienced users
🔧 OpenAPI Specification
Machine-readable API specification in OpenAPI 3.0 format:
- Import into Swagger UI for interactive documentation
- Generate client SDKs automatically
- Integrate with API testing tools
- Validate requests and responses
Best for: API tooling integration, SDK generation, automated testing
📮 Postman Collection
Ready-to-use Postman collection with:
- Pre-configured requests for all endpoints
- Error scenario examples
- Environment variables setup
- Request descriptions and examples
Best for: Manual testing, team sharing, API exploration
To use: Import into Postman → Set api_token variable → Start testing
Getting Started
-
Obtain an API Token
php artisan api:create-token your@email.com -
Make Your First Request
curl "https://dev.localelogic.uk/api/v1/postcodes/SW1A1AA" \ -H "Authorization: Bearer YOUR_TOKEN" -
Explore the Response
- Geography hierarchy (ward → region)
- Coordinates (WGS84 & OS Grid)
- Property count
- Optional UPRNs
API Versions
- v1 (Current): Postcode Lookup API - Full geography data with optional UPRNs
Support
- Email: api-support@localelogic.uk
- Documentation Issues: Contact your account manager
- Service Status: https://status.localelogic.uk (if available)
Additional Resources
Internal Documentation
- Implementation Plan - Original design and architecture decisions
- Service Layer - Core business logic
- Controller - API endpoint handler