Skip to content
This repository was archived by the owner on Aug 12, 2022. It is now read-only.
mandre42 edited this page Mar 30, 2017 · 5 revisions

Recast.AI - SDK PHP

Recast.AI official SDK in PHP

Synospis

This module is a wrapper around the Recast.AI API, and allows you to:

Installation

Install the package using npm, as shown below:

composer require recastai/sdk-php

You can now use the SDK in your code.

Using the entire SDK:

<?php
require_once __DIR__ . '/vendor/autoload.php';

use RecastAI\Client;

$client = new Client('YOUR_TOKEN');

Extracting one single API:

<?php
require_once __DIR__ . '/vendor/autoload.php';

use RecastAI\Client;

$request = Client::Request('YOUR_TOKEN');
$connect = Client::Connect('YOUR_TOKEN');

More

You can view the whole API reference at man.recast.ai.

Clone this wiki locally