Introduction

Welcome to the NDOWDEV API documentation. Our platform provides a comprehensive suite of tools and endpoints designed to help developers build powerful applications with ease.

API Version

This documentation covers API version 2.0. For legacy v1.x documentation, click here.

What you can build

  • User management and authentication systems
  • Real-time data synchronization
  • Analytics and reporting dashboards
  • Webhook integrations for event handling
  • Custom business logic with serverless functions

Quick Start

Get up and running with the NDOWDEV API in under 5 minutes.

1. Get your API key

First, you'll need to obtain an API key from your developer dashboard:

bash
# Set your API key as an environment variable
export NDOWDEV_API_KEY="your_api_key_here"

2. Install the SDK

bash
npm install @crown-greyhound/ndowdev-sdk

3. Make your first API call

javascript
import { NDOWClient } from '@crown-greyhound/ndowdev-sdk';

const client = new NDOWClient({
  apiKey: process.env.NDOWDEV_API_KEY,
  environment: 'production' // or 'sandbox'
});

async function getUsers() {
  try {
    const users = await client.users.list({
      limit: 10,
      sort: 'created_at',
      order: 'desc'
    });
    
    console.log('Users:', users.data);
    return users;
  } catch (error) {
    console.error('Error fetching users:', error);
  }
}

getUsers();

Installation

The NDOWDEV SDK is available for multiple programming languages and platforms.

JavaScript/Node.js

bash
npm install @crown-greyhound/ndowdev-sdk
# or
yarn add @crown-greyhound/ndowdev-sdk

Python

bash
pip install crown-greyhound-ndowdev

PHP

bash
composer require crown-greyhound/ndowdev-php

Configuration

Configure the SDK with your API credentials and environment settings.

Environment Variables

Set up your environment variables for secure API key management:

env
NDOWDEV_API_KEY=your_production_api_key
NDOWDEV_API_URL=https://api.ndowdev.crownandgreyhound.com/v2
NDOWDEV_ENVIRONMENT=production

Security Notice

Never expose your API keys in client-side code. Always use environment variables or secure key management services.