Structures
The following structures are available globally.
-
An error returned by arXiv API call.
See moreDeclaration
Swift
public struct ArxivAPIError : Error
-
Represents a period from point in the past to now, defined in days,weeks, months or years.
See moreDeclaration
Swift
public struct PastPeriodFromNow : Hashable, Codable
-
A single parsed
See moreentry
element from arXiv API reponse.Declaration
Swift
public struct ArxivEntry : Hashable, Codable
extension ArxivEntry: CustomStringConvertible
-
A parsed arXiv API reponse.
See moreDeclaration
Swift
public struct ArxivResponse : Codable
extension ArxivResponse: CustomStringConvertible
-
Specifies search criteria for arXiv request.
ArxivQuery
represents either a search term in specified article field, a date intervarl in which desired articles were published or updated or an arXive subject.Queries can be combined to construct arbitrarily complex queries by using
See moreall
andany
combinators. It is also possible to exclude articles matching a query by usingexcluding
combinator.Declaration
Swift
public struct ArxivQuery : Codable
extension ArxivQuery: CustomStringConvertible
extension ArxivQuery: ArxivRequest
-
A custom parameter attribute that constructs query list from closures.
See moreDeclaration
Swift
@resultBuilder public struct ArxivQueryBuilder
-
A list of arXiv article identifiers.
The type conforms to
See moreArxivRequest
and can be used for fetching the articles with specified IDs.Declaration
Swift
public struct ArxivIdList : ArxivRequest
-
A full sppecification of an arXiv API request.
See moreDeclaration
Swift
public struct ArxivRequestSpecification : Codable
extension ArxivRequestSpecification: ArxivRequest
extension ArxivRequestSpecification: CustomStringConvertible
-
Representation of a single searchable arXiv subject.
Use
Subject
values withArxivQuery.subject
to retrieve articles belonging to the subject.All available subject constants are defined under
See moreArxivSubjects
namespace.Declaration
Swift
public struct ArxivSubject : Hashable, Codable, CustomStringConvertible