An unofficial PHP SDK for Deepgram's API.

Overview

An unofficial PHP SDK for Deepgram's audio transcription API.

Getting Started

Grab src/deepgram.php and include it in your project.

Then:

$deepgram = new Deepgram( [your API key here] );

Now, you have access to the Deepgram API endpoints. For example,

$projects = $deepgram->projects();

var_dump( $projects );

displays

array(2) {
	[0]=>
	object(Deepgram_Project)#2 (3) {
		[...]
	}
	[1]=>
	object(Deepgram_Project)#3 (3) {
		[...]
	}
}

(if your API key has two projects).

Supported Endpoints

GET    /projects                                         => Deepgram::projects()
GET    /projects/{project_id}                            => Deepgram::project()
PATCH  /projects/{project_id}                            => Deepgram_Project::update()
DELETE /projects/{project_id}                            => Deepgram_Project::delete()
GET    /projects/{project_id}/keys                       => Deepgram_Project::keys()
GET    /projects/{project_id}/keys/{key_id}              => Deepgram_Project::key()
POST   /projects/{project_id}/keys                       => Deepgram_Project::create_key()
DELETE /projects/{project_id}/keys/{key_id}              => Deepgram_Key::delete()
GET    /projects/{project_id}/balances                   => Deepgram_Project::balances()
GET    /projects/{project_id}/balances/{balance_id}      => Deepgram_Project::balance()
GET    /projects/{project_id}/requests                   => Deepgram_Project::requests()
GET    /projects/{project_id}/requests/{request_id}      => Deepgram_Project::request()
GET    /projects/{project_id}/usage                      => Deepgram_Project::usage()
GET    /projects/{project_id}/usage/fields               => Deepgram_Project::fields()
GET    /projects/{project_id}/members                    => Deepgram_Project::members()
DELETE /projects/{project_id}/members/{member_id}        => Deepgram_Member::remove()
GET    /projects/{project_id}/members/{member_id}/scopes => Deepgram_Member::scopes()
PUT    /projects/{project_id}/members/{member_id}/scopes => Deepgram_Member::scopes()
DELETE /projects/{project_id}/leave                      => Deepgram_Project::leave()
You might also like...
A PHP API extension the 'An API of Ice and Fire'

This documentation is meant to enable you to consume our API and get you started right away using your favourite programming language. All endpoints and HTTP methods to be used have been detailed with a sample example for e

A Laravel Wrapper for the Binance API. Now easily connect and consume the Binance Public & Private API in your Laravel apps without any hassle.
A Laravel Wrapper for the Binance API. Now easily connect and consume the Binance Public & Private API in your Laravel apps without any hassle.

This package provides a Laravel Wrapper for the Binance API and allows you to easily communicate with it. Important Note This package is in early deve

The fastest way to make a powerful JSON:API compatible Rest API with Laravel.
The fastest way to make a powerful JSON:API compatible Rest API with Laravel.

The first fully customizable Laravel JSON:API builder. "CRUD" and protect your resources with 0 (zero) extra line of code. Installation You can instal

Api.video-wordpress-plugin - The official api.video plugin for WordPress
Api.video-wordpress-plugin - The official api.video plugin for WordPress

api.video WordPress Plugin api.video is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managin

Projet réalisé dans le cadre de l'apprentissage des API et d'API Platform

Bilemo BileMo est une entreprise offrant toute une sélection de téléphones mobiles haut de gamme. Vous êtes en charge du développement de la vitrine d

Bastion API is a simple API made to get query informations

Bastion API is a simple API made to get query informations

Simple Symfony API-Platform Template which you can use to start to develop with symfony and api-platform

symfony-api-platform-skeleton Simple Template for Symfony API You can fork it and change the git remote to your Repo git remote set-url your-git-remo

PDF API. JSON to PDF. PDF Template Management, Visual HTML Template Editor and API to render PDFS by json data
PDF API. JSON to PDF. PDF Template Management, Visual HTML Template Editor and API to render PDFS by json data

PDF Template Management, Visual HTML Template Editor and API to render PDFS by json data PDF ENGINE VERSION: development: This is a prerelease version

Zilliqa PHP is a typed PHP-7.1+ interface to Zilliqa JSON-RPC API.
Zilliqa PHP is a typed PHP-7.1+ interface to Zilliqa JSON-RPC API.

Zilliqa PHP is a typed PHP-7.1+ interface to Zilliqa JSON-RPC API. Check out the latest API documentation. Add library in a composer.json file.

Owner
Christopher Finke
Developer at Automattic, working on Akismet, stopping millions of pieces of spam each hour, but my repositories here are all things I work on on my own time.
Christopher Finke
Unofficial Nest Learning Thermostat API

This is a PHP class that will allow you to monitor and control your Nest Learning Thermostat, and Nest Protect.

Guillaume Boudreau 297 Oct 28, 2022
An unofficial EdgeDB PHP client.

Unofficial EdgeDB HTTP PHP client Requirements PHP >= 8.0 (with fileinfo and mbstring) An EdgeDB server instance (tested with 1.0+9ecadfc) Quickstart

T3d 7 Aug 18, 2022
CPAY is a sdk that encapsulates the Orange Money api with an intuitive syntax allowing you to integrate the Orange Money payment into your PHP project.

CPAY CHOCO PAY is a sdk that encapsulates the Orange Money api with an intuitive syntax allowing you to integrate the Orange Money payment into your P

faso-dev 1 Oct 26, 2022
CloudConvert PHP SDK

cloudconvert-php This is the official PHP SDK v3 for the CloudConvert API v2. For API v1, please use v2 branch of this repository. Install To install

null 207 Dec 26, 2022
PHP SDK For paydirectly

Paydirectly SDK for PHP PHP library for paydirectly API. Installation The recommended way to install paydirectly-php is through Composer: composer req

Asad Ali 3 Sep 14, 2021
Laravel Integration for Switchover PHP SDK. Feature Toggle Management made easy.

Switchover Laravel Integration Switchover Switchover is a Software-As-A-Service for managing feature toggles (aka switches, flags or feature flips) in

Switchover 6 Nov 6, 2022
A Simple Linode SDK built for Laravel with @JustSteveKing laravel-transporter package

linode client A Simple Linode client built for Laravel with @JustSteveKing laravel-transporter package Installation You can install the package via co

Samuel Mwangi 2 Dec 14, 2022
Empower your business to accept payments globally, earn rewards and invest in crypto with lazerpay laravel sdk in your laravel project.

Lazerpay Laravel Package pipedev/lazerpay is a laravel sdk package that access to laravel api Installation PHP 5.4+ and Composer are required. To get

Muritala David 24 Dec 10, 2022
Code to accompany the YouTube video "Full PHP cURL API tutorial - how to use a REST API from PHP using cURL"

PHP cURL CRUD Example Example code to accompany this YouTube video. Note that the init_curl.php file contains a placeholder for an API key. DO NOT che

Dave Hollingworth 14 Dec 24, 2022
Google Search Results PHP API via Serp Api

Google Search Results in PHP This Php API is meant to scrape and parse Google, Bing or Baidu results using SerpApi. The full documentation is availabl

SerpApi 42 Nov 14, 2022