iProfile Public API
Version 1.0.20210201 Beta

Usage: api.php?sid=XXXXXX or api.php?sit=XXXXXX

API call: api.php?sid=XXXXXX
List of available key:
staffID, fullname, specialize, cvlink, interest, scopusid, researcherid, orcid, googlescholar, researchgate, scopuscount, googlescholarcount, doicount

You may also add 'disp' parameter to the url to display specific value
e.g. api.php?sit=XXXXXX&disp=fullname to display just fullname
API call: api.php?sit=XXXXXX
List of available key:
title, year, authors, doilink, googlescholar, wos, scopus, mycite
e.g. API call: api.php?sid=K01032
<?php
$json = file_get_contents("https://pustaka2.upsi.edu.my/iprofile/api.php?sid=K01032");
$json_data = json_decode($json, true);
echo $json_data["staffID"]."<br/>";
echo $json_data["fullname"]."<br/>";
echo $json_data["orcid"]."<br/>";
echo $json_data["researcherid"]."<br/>";
?>

Output:






e.g. API call: api.php?sid=K01032&disp=doicount
<?php
$json = file_get_contents("https://pustaka2.upsi.edu.my/iprofile/api.php?sid=K01032&disp=doicount");
$json_data = json_decode($json, true);
echo $json_data["staffID"]."<br/>";
echo $json_data["doicount"]."<br/>";
?>

Output:


e.g. API call: api.php?sit=K01032
<?php
$json = file_get_contents("https://pustaka2.upsi.edu.my/iprofile/api.php?sit=K01032");
$json_data = json_decode($json, true);
foreach ($json_data as $key => $value) {
echo $value["title"].",".$value["year"]."<br/><br/>";
}
?>

Output: