Skip to main content

SDK Introduction

The Cronhost SDK is the official TypeScript library for interacting with the Cronhost API. It provides a simple and intuitive interface for managing scheduled HTTP requests using cron expressions.

Installation

Install the SDK using your preferred package manager:

Quick Start

Authentication

All SDK methods require authentication using your API key. You can obtain your API key from the Cronhost dashboard.

Error Handling

The SDK throws errors for failed requests. We recommend wrapping SDK calls in try-catch blocks:

Next Steps