Add ckan_client module - just a demo of how you can use ckan_php from drupal.