arxivで公開されているAPIを使っていきます

https://arxiv.org/

APIを直接呼び出しても良いですが、responseがxmlで使いづらかったので pythonのライブラリを使わせてもらいます。

https://github.com/lukasschwab/arxiv.py

pipでインストール

$ pip install arxiv

使い方

import arxiv

search = arxiv.Search(
  query = "quantum",
  max_results = 10,
  sort_by = arxiv.SortCriterion.SubmittedDate
)

for result in search.results():
  print(result.title)

arxiv.Searchでリクエストを送ります。
results()で結果の一覧を取得

結果用にResult Classが用意されており、
中身はそれぞれ以下のような形です。

fieldDescription
entry_idA url http://arxiv.org/abs/{id}.
updatedWhen the result was last updated.
publishedWhen the result was originally published.
titleThe title of the result.
authorsThe result’s authors, as arxiv.Authors.
summaryThe result abstract.
commentThe authors’ comment if present.
journal_refA journal reference if present.
doiA URL for the resolved DOI to an external resource if present.
primary_categoryThe result’s primary arXiv category. See arXiv: Category Taxonomy.
categoriesAll of the result’s categories. See arXiv: Category Taxonomy.
linksUp to three URLs associated with this result, as arxiv.Links.
pdf_urlA URL for the result’s PDF if present. Note: this URL also appears among result.links.

See Also