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(int nVersion)
- Get package list
- Parameters:
nVersion - The API version
- Returns:
- the list in JSON format
getPackageShow
public String getPackageShow(int nVersion,
String strIdPackage)
throws SAXException
- Get a given package
- Parameters:
nVersion - The API versionstrIdPackage - The package ID
- Returns:
- The package data in JSON format
- Throws:
SAXException - If an error occurs
Copyright © 2014 Mairie de Paris. All Rights Reserved.