ORCID 搜索 API 使用 SOLR 語法。 支持 SOLR 3.6 中可用的所有查詢語法,包括帶有 Solr 擴展的 Lucene (默認)、DisMax 和擴展 Dismax。
您需要一個“/read-public”訪問令牌才能使用它。 獲得搜索令牌後,構建基本搜索 URL:
憑證類型: | 公開API | 會員API |
資源網址: | 沙箱:https://pub.sandbox.orcid.org 製作:https://pub.orcid.org | 沙箱:https://api.sandbox.orcid.org 製作:https://api.orcid.org |
API版本: | v3.0 | |
搜索端點 | /search/?=[查詢] |
在沙箱公共 API 上使用令牌搜尋「orcid」的呼叫範例,結果以 XML 格式傳回:
Method: GET Content-type: application/vnd.orcid+xmlnAuthorization type and Access token: Bearer [stored access token]URL: https://pub.sandbox.orcid.org/v3.0/search/?q=orcid
結果會指定找到的結果數(num-found)並默認顯示前1000條結果:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<search:search num-found="385" xmlns:search="https://www.orcid.org/ns/search" xmlns:common="https://www.orcid.org/ns/common">
<search:result>
<common:orcid-identifier>
<common:uri>https://sandbox.orcid.org/0000-0001-2345-6789</common:uri>
<common:path>/0000-0001-2345-6789</common:path>
<common:host>sandbox.orcid.org</common:host>
</common:orcid-identifier>
</search:result>
[...]
</search:search>
沙盒公共 API 上的示例基本搜索,結果以 json 格式返回:
Method: GET
Content-type: application/vnd.orcid+json
Authorization type and Access token: Bearer [stored access token]
URL: https://pub.sandbox.orcid.org/v3.0/search/?q=newman
搜索只返回個人 ORCID 保存與搜索匹配的公共數據的記錄的 ID。 要獲得有關結果的更多信息,請致電閱讀 ORCID 直接記錄。
有關更多信息,請參見 搜索 API 教程.