Documentation

Comprehensive guides and technical documentation to help you integrate Casa LHI into your applications.

Quick Start Guides

API Quick Start

Get up and running with Casa LHI API in minutes.

View Guide →

SDK Documentation

Learn how to use our official SDKs for different programming languages.

View SDKs →

Integration Examples

Real-world examples and code samples for common use cases.

View Examples →

Documentation Sections

API Reference

Complete reference for all Casa LHI API endpoints, parameters, and responses.

  • • Authentication
  • • Endpoints
  • • Request/Response formats
  • • Error codes

SDKs & Libraries

Official SDKs for popular programming languages and frameworks.

  • • JavaScript/Node.js
  • • Python
  • • PHP
  • • React components

Webhooks

Set up webhooks to receive real-time notifications about your API usage.

  • • Webhook setup
  • • Event types
  • • Security
  • • Testing

Integration Guides

Step-by-step guides for integrating Casa LHI into popular platforms.

  • • WordPress plugins
  • • React applications
  • • Mobile apps
  • • Real estate platforms

Rate Limits & Quotas

Understand rate limits, quotas, and how to optimize your API usage.

  • • Rate limit policies
  • • Quota management
  • • Best practices
  • • Upgrading plans

Troubleshooting

Common issues and solutions when integrating with Casa LHI.

  • • Common errors
  • • Debugging tips
  • • Performance optimization
  • • Support resources

Code Examples

Basic API Request

JavaScript
const response = await fetch('https://ourcasa.ai/api/ai-chat', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer YOUR_API_KEY'
  },
  body: JSON.stringify({
    prompt: 'Why is my siding warping?',
    location: {
      lat: 40.7128,
      lng: -74.0060
    }
  })
});

const data = await response.json();
console.log(data.response);

Python SDK Example

Python
from casa_lhi import CasaLHI

client = CasaLHI(api_key='YOUR_API_KEY')

response = client.ask(
    prompt="Why is my siding warping?",
    location={
        'lat': 40.7128,
        'lng': -74.0060
    }
)

print(response.insight)
print(response.recommendations)

Official SDKs

JavaScript SDK

Official SDK for JavaScript and Node.js applications.

• npm install casa-lhi
• TypeScript support
• React components
View on GitHub →

Python SDK

Official SDK for Python applications and data science.

• pip install casa-lhi
• Async support
• Pandas integration
View on PyPI →

PHP SDK

Official SDK for PHP applications and WordPress.

• composer require casa/lhi
• Laravel support
• WordPress plugin
View on Packagist →

Need More Help?

Can't find what you're looking for? Our developer support team is here to help.

Casa LHI™ documentation is powered by Neural Command, LLC — the AI engineering team behind NRLC.ai and NRLCmd.com.