Skip to content

Commit bad9315

Browse files
authored
Update test.php
1 parent 31ae88b commit bad9315

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

test/test.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
$apiKey = "114ff0c3b57a0ec62e15efdedefd2e6f";
1313

1414
$api = new ScopusApi($apiKey);
15+
16+
// Scopus Search API
1517
$results = $api
1618
->query("af-id(60071066)")
1719
->start(0)
@@ -23,13 +25,17 @@
2325

2426
foreach ($results->getEntries() as $entry) {
2527
$abstractUrl = $entry->getLinks()->getSelf();
28+
29+
// Abstract Retrieval API
2630
$abstract = $api->retrieve($abstractUrl);
2731

2832
var_dump($abstract);
2933

3034
$authors = $entry->getAuthors();
3135
foreach ($authors as $author) {
3236
$authorUrl = $author->getUrl();
37+
38+
// Author Retrieval API
3339
$author = $api->retrieve($authorUrl);
3440

3541
var_dump($author);

0 commit comments

Comments
 (0)