datagovsg.ckan¶
Example usage:
# list all available packages
from datagovsg import Ckan
ckan = Ckan()
packages = ckan.package_list()
Methods¶
- class datagovsg.ckan.Client¶
Bases:
objectREMOVED BY DATA.GOV.SG.
This API has been removed from Data.gov.sg. As a result, all of the methods in this class return
None.This class will be removed from this package’s next major release or 31 December 2025, whichever comes earlier.
- Warns DeprecationWarning:
Inform the developer that this method has been deprecated.
Formerly: Interact with CKAN software to access its catalogue of datasets.
- datastore_search() None¶
Search data in a resource.
- Warns DeprecationWarning:
Inform the developer that this method has been deprecated.
- Returns:
None.- Return type:
None
- package_list() None¶
Return a list of datasets on data.gov.sg.
- Warns DeprecationWarning:
Inform the developer that this method has been deprecated.
- Returns:
None.- Return type:
None