Copy the following HTML and paste into your webpage to embed this view.
<iframe src='https://catalog.sarawak.gov.my/dataset/senarai-kursus-perikanan-tawaran-jabatan-pertanian-sarawak/resource/40622f1b-bef4-4e92-9e94-6334d5c7b2c9/view/09dfb534-8a7d-4163-8f05-e95f36e98b14' frameBorder="0"></iframe>
The Data API can be accessed via the following actions of the CKAN action API.
https://catalog.sarawak.gov.my/api/3/action/datastore_search
https://catalog.sarawak.gov.my/api/3/action/datastore_search?resource_id=40622f1b-bef4-4e92-9e94-6334d5c7b2c9&limit=5
https://catalog.sarawak.gov.my/api/3/action/datastore_search?resource_id=40622f1b-bef4-4e92-9e94-6334d5c7b2c9&q=jones
A simple ajax (JSONP) request to the data API using jQuery.
var data = { resource_id: '40622f1b-bef4-4e92-9e94-6334d5c7b2c9', // the resource id limit: 5, // get 5 results q: 'jones' // query for 'jones' }; $.ajax({ url: 'https://catalog.sarawak.gov.my/api/3/action/datastore_search', data: data, dataType: 'jsonp', success: function(data) { alert('Total results found: ' + data.result.total) } });
import urllib url = 'https://catalog.sarawak.gov.my/api/3/action/datastore_search?resource_id=40622f1b-bef4-4e92-9e94-6334d5c7b2c9&limit=5&q=title:jones' fileobj = urllib.urlopen(url) print fileobj.read()