Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A PHP client for the CKAN (Comprehensive Knowledge Archive Network) API.
PHP
branch: master

This branch is 4 commits ahead, 1 commit behind jeffreybarke:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
demos
lib/php_markdown
CHANGELOG
Ckan_client.php
LICENSE
README
TODO

README

Ckan_client-PHP
Copyright (c) 2010 Jeffrey Barke <http://jeffreybarke.net/>
Licensed under the MIT license


Introduction
------------

Ckan_client-PHP is (unsurprisingly) a PHP client for the CKAN (Comprehensive 
Knowledge Archive Network) <http://www.ckan.net/> API 
<http://knowledgeforge.net/ckan/doc/ckan/api.html>.

MIT License: ./LICENSE
Version history: ./CHANGELOG
Roadmap: ./TODO

It includes a copy of Michel Fortin's PHP Markdown (copyright (c) 
2004-2009 Michel Fortin <http://michelf.com/>. All rights reserved.) which is 
based on on Markdown (copyright (c) 2003-2006 John Gruber 
<http://daringfireball.net/>. All rights reserved.).

Read Me: ./lib/php_markdown/PHP Markdown Readme.text
License: ./lib/php_markdown/License.text


Requirements
------------

Ckan_client-PHP requires PHP version 5.2.0 or later.


Installation and usage
----------------------

More documentation will be forthcoming, but the basic usage should be evident
via the demos (./demos/index.html).

include_once('Ckan_client.php');

If you only want to GET data, then:
$ckan = new Ckan_client();

If you intend on using any POST or PUT methods, you'll need to get a CKAN
API key and:
$ckan = new Ckan_client('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx');


Bugs, issues and feature requests
--------------------------------

If you find any bugs, note any issues or have any feature requests, please
report them at http://github.com/jeffreybarke/Ckan_client-PHP/issues
Something went wrong with that request. Please try again.