This library parse and return the academic metrics such as number of citations, h-Index, etc.
For live demo, you can check https://edu-stats.kaveh.me/demo/
Google Scholar, Scopus, Publons
⚠️ ResearchGate, ResearcherID and Mendeley parsers have been removed.
In order to use the PHP edition, make sure to enable php_curl.dll
and php_openssl.dll
extensions in php.ini
.
The end-user of this code should read the terms and conditions of the host provider (e.g. Google Scholar, Scopus, etc.), which he/she is trying to scrap its data, and they should follow their terms and coditions. The developer(s) and contributor(s) of this code do(es) not take any resposibility for misusing this code. The end-users should monitor their requests to the servers in order to prevent any unnecessary traffic/attack on the target websites. Access to the hosted JavaScript on this website is restricted to prevent generation of high traffic on the target websites.
N/A
- Google Scholar
- h-Index
- i10-Index
- Total Citations
- Scopus
- Total Documents
- h-Index
- Citations
- Citation Documents
- Publons
- Average Per Item
- Average Per Year
- h-Index
- Times Cited
- Number of Publications in WosCc
The script generator should be placed in the HEAD
section of the HTML
code as below:
<script src="/query/?google=<GOOGLE_ID>
&scopus=<SCOPUS_ID>
&publons=<PUBLONS_ID>
&prefix=<OPTIONAL_PREFIX>
&output=<javascript|json>
"></script>
The above code receives 5 optional query string parameters as below. At least one of the parameters should be set.
Parameter | Type | Description | Sample |
---|---|---|---|
optional | Google Scholar ID In your profile URL (http://scholar.google.com/citations?user=7ftCdTQAAAAJ&hl=en), user value is the Profile ID. |
google=7ftCdTQAAAAJ | |
scopus | optional | Scopus Author ID In your profile URL (http://www.scopus.com/authid/detail.url?authorId=54413825200), authorId value is the Profile ID. |
scopus=54413825200 |
publons | optional | Publons In your profile URL (https://publons.com/researcher/1666350), the last part of the URL is the id. |
publons=1666350 |
prefix | optional | A prefix to be used for variables to differentiate different scholars. LIMIT: 10 alphanumeric characters. |
prefix=asd123 |
output | optional | javascript (Default): This parameter will generate the output in javascript variables. json: This parameter generates JSON output for easier parsing, which is recommended for AJAX functions. JSON does not support prefix parameters. |
output=json |
If prefix
is set, its value will be added to the begining of all variable names. This can be set to prevent variable similarities (duplicated names) in JavaScript output, specially, when there are multiple profile calls.
For instance, if the prefix has been set to abc123
, then Google h-Index variable would be changed as follows:
document.write(abc123_Google_hIndex);
Google Scholar bug is fix
Scopus bug is fix
Publons parser is added
ResearcherID and Mendeley parsers are removed
Mendeley parser added
Scopus function and variables rewritten
JSON output is added
PHP version is developed
ResearchGate parser is removed
Google Scholar bug is fixed
Scopus bug is fixed
ResearchGate bug is fixed
ResearcherID parser is added
SSL (HTTPS) bug is fixed on Google Scholar
Prefix attribute is added for multi-extraction
Initial version
Kaveh Bakhtiyari - Website | Medium | LinkedIn | GitHub
Feel free to join the open-source community and contribute to this repository.