Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

ArXiv

Connect to the arXiv API using the Wolfram Language to search for electronic preprints in a variety of scientific disciplines.

Connecting & AuthenticatingConnecting & Authenticating

RequestsRequests

    ServiceExecute["ArXiv","request",params] sends a request to the connection identified by conn, using parameters params. The following give possible requests.

    Search Articles

    Request:

    "Search" search for articles and filter them by author, title, ID, etc.

    Parameters:
  • "Query"Nonea general query string or list of rules defining filters on various fields ("All", "Title", "Author", "Abstract", "Comment", "JournalReference", "Category", "ReportNumber")
    "ID"Nonea string ID or list of string IDs
    MaxItems10maximum number of results to return
    "StartIndex"1start index
    "SortBy"Nonefield to sort by ("DateUpdated", "DateSubmitted")
    "SortOrder""Descending"sort direction ("Ascending", "Descending")
  • Either "Query" or "ID" parameters must be provided. If both are provided, each article in the "ID" parameter that matches "Query" will be returned.

    Filter Articles by Field

    Request:

    "TitleSearch" search for articles by title

    "AuthorSearch" search for articles by author

    "AbstractSearch" search for articles by abstract

    "CommentSearch" search for articles by comment

    "JournalReferenceSearch" search for articles by journal reference

    "CategorySearch" search for articles by subject category

    "ReportNumberSearch" search for articles by report number

    Parameters:
  • "Query"Nonestring or list of strings to search by
    MaxItems10number of elements to return
    "StartIndex"1start index
    "SortBy"Nonefield used for sorting ("DateUpdated", "DateSubmitted")
    "SortOrder""Descending"sorting direction used ("Ascending", "Descending")
  • List of Categories

    Request:

    "CategoryList" search for valid categories to use in "CategorySearch"

    Parameters:
  • "Query"Allquery terms

Notes & IssuesNotes & Issues

    When using "Query" parameters, a list of rules represents the AND operator, using Except in one of those rules represents the ANDNOT operator, and using Alternatives represents the OR operator.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Create a new connection by launching an authentication dialog:

In[1]:=
Click for copyable input
Out[1]=

Search for articles using a simple query:

In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=

Search using fields and logic operators. In this case, articles that include "Gravitational" or "Atoms" in the title:

In[4]:=
Click for copyable input
In[5]:=
Click for copyable input
Out[5]=

Search using a list of known article IDs:

In[6]:=
Click for copyable input
Out[6]=

Search by author:

In[7]:=
Click for copyable input
Out[7]=

Search by journal reference:

In[8]:=
Click for copyable input
Out[8]=

Get a list of categories related to physics:

In[9]:=
Click for copyable input
Out[9]//Shallow=

Search by category:

In[10]:=
Click for copyable input
Out[10]=