PHP SDK for Scopus APIs
Currently, supported APIs:
- Scopus Search API
- Abstract Retrieval API
- Author Retrieval API
- Affiliation Retrieval API
- Search Author API
- Citation Overview API
- Abstract Citations Count API
composer require kasparsj/scopus-search-api
use Scopus\ScopusApi;
// replace with your API key
$apiKey = "114ff0c3b57a0ec62e15efdedefd2e6f";
$api = new ScopusApi($apiKey);
// Scopus Search API
$results = $api
->query("af-id(60071066)")
->start(0)
->count(5)
->viewComplete()
->search();
var_dump($results);
foreach ($results->getEntries() as $entry) {
$abstractUrl = $entry->getLinks()->getSelf();
// Abstract Retrieval API
$abstract = $api->retrieve($abstractUrl);
var_dump($abstract);
$authors = $entry->getAuthors();
foreach ($authors as $author) {
$authorUrl = $author->getUrl();
// Author Retrieval API
$author = $api->retrieve($authorUrl);
var_dump($author);
}
}
https://kasparsj.github.io/scopus-api-php/
- 01/05/2022 - v1.3
- Added Abstract Citations Count API
- 14/11/2021 - v1.2
- Bug fix
- 19/05/2020 - v1.1
- Added Search Author API
- Added Citation Overview API
- Created a support function to retrieve Document of specific Author easly
- Updated classes