ArxivIdList

public struct ArxivIdList : ArxivRequest

A list of arXiv article identifiers.

The type conforms to ArxivRequest and can be used for fetching the articles with specified IDs.

  • Returns identifiers from the list.

    Declaration

    Swift

    public let idList: [String]
  • Creates an ID list.

    To retrieve a specific version of an article, end the corresponding ID with vN suffix where N is the desired version number. If an identifier without the suffix is provided, the most recent version will be retrieved. ArxivEntry type has properties for getting the version and versioned IDs of the corresponing article.

    For detailed explanation of arXiv identifiers see arXiv help.

    Declaration

    Swift

    public init(_ firstID: String, _ otherIDs: String...)

    Parameters

    firstID

    An arXiv article IDs.

    otherIDs

    Other optional IDs.

  • Creates an ID list.

    To retrieve a specific version of an article, end the corresponding ID with vN suffix where N is the desired version number. If an identifier without the suffix is provided, the most recent version will be retrieved. ArxivEntry type has properties for getting the version and versioned IDs of the corresponing article.

    For detailed explanation of arXiv identifiers see arXiv help.

    Declaration

    Swift

    public init(ids: [String])

    Parameters

    idList

    An array of arXiv article IDs.

  • Returns ArxivRequestSpecification(idList: idList).

    Declaration

    Swift

    public var requestSpecification: ArxivRequestSpecification { get }