Skip to content

Commit 08bf5e3

Browse files
authored
Update README.md
1 parent bad9315 commit 08bf5e3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ use Scopus\ScopusApi;
2020
// replace with your API key
2121
$apiKey = "114ff0c3b57a0ec62e15efdedefd2e6f";
2222
$api = new ScopusApi($apiKey);
23+
24+
// Scopus Search API
2325
$results = $api
2426
->query("af-id(60071066)")
2527
->start(0)
@@ -31,13 +33,17 @@ var_dump($results);
3133

3234
foreach ($results->getEntries() as $entry) {
3335
$abstractUrl = $entry->getLinks()->getSelf();
36+
37+
// Abstract Retrieval API
3438
$abstract = $api->retrieve($abstractUrl);
3539

3640
var_dump($abstract);
3741

3842
$authors = $entry->getAuthors();
3943
foreach ($authors as $author) {
4044
$authorUrl = $author->getUrl();
45+
46+
// Author Retrieval API
4147
$author = $api->retrieve($authorUrl);
4248

4349
var_dump($author);

0 commit comments

Comments
 (0)