Location: PHPKode > scripts > TempoDB PHP API Client > tempodb-tempodb-php-83dd601/examples/create_series.php
<?php

require('../tempodb.php');
date_default_timezone_set("America/Chicago");

$tdb = new TempoDB("your-api-key", "your-api-secret");

$series1 = $tdb->create_series("my-custom-key");
$series2 = $tdb->create_series();

var_dump($series1);
var_dump($series2);

?>
Return current item: TempoDB PHP API Client