eventregistry - v11.0.0
    Preparing search index...

    Interface IteratorArguments

    Per-call cancellation and deadline, accepted wherever a request is made.

    interface IteratorArguments {
        articleBatchSize?: number;
        authorUri?: string | string[] | QueryItems;
        categoryUri?: string | string[] | QueryItems;
        conceptUri?: string | string[] | QueryItems;
        dateEnd?: string | Date;
        dateMentionEnd?: string | Date;
        dateMentionStart?: string | Date;
        dateStart?: string | Date;
        endSourceRankPercentile?: number;
        keywords?: string | string[] | QueryItems;
        keywordSearchMode?: "simple" | "exact" | "phrase";
        keywordsLoc?: "body" | "title" | "body,title";
        lang?: string | string[];
        locationUri?: string | string[] | QueryItems;
        maxItems?: number;
        maxSentiment?: number;
        minSentiment?: number;
        returnInfo?: ReturnInfo;
        signal?: AbortSignal;
        sortBy?: SortByOptions;
        sortByAsc?: boolean;
        sourceGroupUri?: string | string[] | QueryItems;
        sourceLocationUri?: string | string[] | QueryItems;
        sourceUri?: string | string[] | QueryItems;
        startSourceRankPercentile?: number;
        timeoutMs?: number;
    }

    Hierarchy (View Summary)

    Index
    articleBatchSize?: number

    Number of articles to download at once (we are not downloading article by article) (at most 100)

    authorUri?: string | string[] | QueryItems
    categoryUri?: string | string[] | QueryItems
    conceptUri?: string | string[] | QueryItems
    dateEnd?: string | Date
    dateMentionEnd?: string | Date
    dateMentionStart?: string | Date
    dateStart?: string | Date
    endSourceRankPercentile?: number
    keywords?: string | string[] | QueryItems
    keywordSearchMode?: "simple" | "exact" | "phrase"
    keywordsLoc?: "body" | "title" | "body,title"
    lang?: string | string[]

    Array or a single language in which to return the list of matching articles

    locationUri?: string | string[] | QueryItems
    maxItems?: number

    Maximum number of items to be returned. Used to stop iteration sooner than results run out

    maxSentiment?: number

    maximum value of the sentiment, that the returned articles should have. Range [-1, 1]. Note: setting the value will remove all articles that don't have a computed value for the sentiment (all articles that are not reported in English language)

    minSentiment?: number

    minimum value of the sentiment, that the returned articles should have. Range [-1, 1]. Note: setting the value will remove all articles that don't have a computed value for the sentiment (all articles that are not reported in English language)

    returnInfo?: ReturnInfo

    What details should be included in the returned information

    signal?: AbortSignal

    Aborts the call: waiting in the queue, the HTTP request and backoff waits all stop.

    sortBy?: SortByOptions

    Order in which event articles are sorted.

    sortByAsc?: boolean

    Should the results be sorted in ascending order (True) or descending (False)

    sourceGroupUri?: string | string[] | QueryItems
    sourceLocationUri?: string | string[] | QueryItems
    sourceUri?: string | string[] | QueryItems
    startSourceRankPercentile?: number
    timeoutMs?: number

    Overall deadline in milliseconds for the call, queueing, retries and backoff waits included. Exceeding it rejects with ErTimeoutError.