Run with PHP SDK
Invoke a prompt deployment from PHP with the fetch-hive/sdk Composer package
Installation
composer require fetch-hive/sdkAuthentication
export FETCH_HIVE_API_KEY=fhk_...<?php
require_once 'vendor/autoload.php';
use FetchHive\Sdk\FetchHive;
$client = new FetchHive();$client = new FetchHive(['api_key' => 'fhk_...']);Basic example
Method reference
Key
Type
Required
Description
Handling the response
Streaming
Configuration
Option
Default
Description
Errors
Links
Next steps
Last updated