Skip to content

datatheke/datatheke-php-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Datatheke PHP client

About

A PHP client for the Data Management System Datatheke (http://www.datatheke.com/)

Install

Using composer

composer require 'datatheke/client' '~0.2.0'

Usage

<?php

// src/test.php
$loader = require __DIR__.'/../vendor/autoload.php';

$client = new Datatheke\Api\Client();
$client->setCredentials(MY_USERNAME, MY_PASSWORD);
// or $client->setTokenData('ACCESS_TOKEN', 'REFRESH_TOKEN', 'EXPIRES_TIMESTAMP');

$libraries = $client->getLibraries();
foreach ($libraries['items'] as $library) {
    echo $library['name']."\n";
}

About

A PHP client for the Open Data repository Datatheke (http://www.datatheke.com/)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages