fr.paris.lutece.plugins.document.modules.ckan.rs
Class CkanRest
java.lang.Object
fr.paris.lutece.plugins.document.modules.ckan.rs.CkanRest
public class CkanRest
- extends Object
Ckan Web services API implementation
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CkanRest
public CkanRest()
getPackageList
public String getPackageList()
- Get package list
- Returns:
- the list in JSON format
getPackageShow
public String getPackageShow(String strIdPackage)
throws SAXException
- Get a given package
- Parameters:
strIdPackage - The package ID
- Returns:
- The package data in JSON format
- Throws:
SAXException - If an error occurs
Copyright © 2013 Mairie de Paris. All Rights Reserved.