eventregistry - v11.0.0
    Preparing search index...

    Interface Arguments

    interface Arguments {
        authorsFilter?: "keepAll" | "skipIfHasAuthors" | "keepOnlyIfHasAuthors";
        authorUri?: string | string[] | QueryItems;
        categoryUri?: string | string[] | QueryItems;
        conceptUri?: string | string[] | QueryItems;
        dataType?: DataType | DataType[];
        dateEnd?: string | Date;
        dateMentionEnd?: string | Date;
        dateMentionStart?: string | Date;
        dateStart?: string | Date;
        endSourceRankPercentile?: number;
        eventFilter?:
            | "keepAll"
            | "skipArticlesWithoutEvent"
            | "keepOnlyArticlesWithoutEvent";
        hasDuplicateFilter?: | "keepAll"
        | "skipHasDuplicates"
        | "keepOnlyHasDuplicates";
        ignoreAuthorUri?: string
        | string[]
        | QueryItems;
        ignoreCategoryUri?: string | string[] | QueryItems;
        ignoreConceptUri?: string | string[] | QueryItems;
        ignoreKeywords?: string | string[] | QueryItems;
        ignoreKeywordSearchMode?: "simple" | "exact" | "phrase";
        ignoreKeywordsLoc?: "body" | "title" | "body,title";
        ignoreLang?: string | string[] | QueryItems;
        ignoreLocationUri?: string | string[] | QueryItems;
        ignoreSourceGroupUri?: string | string[] | QueryItems;
        ignoreSourceLocationUri?: string | string[] | QueryItems;
        ignoreSourceUri?: string | string[] | QueryItems;
        isDuplicateFilter?: "keepAll" | "skipDuplicates" | "keepOnlyDuplicates";
        keywords?: string | string[] | QueryItems;
        keywordSearchMode?: "simple" | "exact" | "phrase";
        keywordsLoc?: "body" | "title" | "body,title";
        lang?: string | string[];
        linksFilter?: "keepAll" | "skipIfHasLinks" | "keepOnlyIfHasLinks";
        locationUri?: string | string[] | QueryItems;
        maxSentiment?: number;
        minSentiment?: number;
        requestedResult?: RequestArticles;
        sourceGroupUri?: string | string[] | QueryItems;
        sourceLocationUri?: string | string[] | QueryItems;
        sourceUri?: string | string[] | QueryItems;
        startSourceRankPercentile?: number;
        videosFilter?: "keepAll" | "skipIfHasVideos" | "keepOnlyIfHasVideos";
    }

    Hierarchy (View Summary)

    Index
    authorsFilter?: "keepAll" | "skipIfHasAuthors" | "keepOnlyIfHasAuthors"

    Some articles have an extracted author and some don't. What should be done with them. Possible values are: "skipIfHasAuthors" (skip articles for which we have identified the author) "keepOnlyIfHasAuthors" (return only articles for which we have extracted the author) "keepAll" (no filtering, default)

    authorUri?: string | string[] | QueryItems

    Find articles that were written by a specific author. If multiple authors should be considered use QueryItems.OR() to provide the list of authors. Author uri for a given author name can be obtained using EventRegistry.getAuthorUri().

    categoryUri?: string | string[] | QueryItems

    Find articles that are assigned into a particular category. A single category can be provided as a string, while multiple categories can be provided as a list in QueryItems.AND() or QueryItems.OR(). A category uri can be obtained from a category name using EventRegistry.getCategoryUri().

    conceptUri?: string | string[] | QueryItems

    Find articles where the concept with concept uri is mentioned. A single concept uri can be provided as a string, multiple concept uris can be provided as a list of strings. Use QueryItems.AND() if all provided concepts should be mentioned, or QueryItems.OR() if any of the concepts should be mentioned. To obtain a concept uri using a concept label use EventRegistry.getConceptUri().

    dataType?: DataType | DataType[]

    what data types should we search? "news" (news content, default), "pr" (press releases), or "blogs". If you want to use multiple data types, put them in an array (e.g. ["news", "pr"])

    dateEnd?: string | Date

    Find articles that occurred before or on dateEnd. Date should be provided in YYYY-MM-DD format.

    dateMentionEnd?: string | Date

    Find articles that explicitly mention a date that is lower or equal to dateMentionEnd.

    dateMentionStart?: string | Date

    Find articles that explicitly mention a date that is equal or greater than dateMentionStart.

    dateStart?: string | Date

    Find articles that were written on or after dateStart. Date should be provided in YYYY-MM-DD format.

    endSourceRankPercentile?: number

    Ending percentile of the sources to consider in the results (default: 100). Value should be in range 10-100 and divisible by 10.

    eventFilter?:
        | "keepAll"
        | "skipArticlesWithoutEvent"
        | "keepOnlyArticlesWithoutEvent"

    Some articles describe a known event and some don't. This filter allows you to filter the resulting articles based on this criteria. Possible values are: "skipArticlesWithoutEvent" (skip articles that are not describing any known event in ER) "keepOnlyArticlesWithoutEvent" (return only the articles that are not describing any known event in ER) "keepAll" (no filtering, default)

    hasDuplicateFilter?: "keepAll" | "skipHasDuplicates" | "keepOnlyHasDuplicates"

    Some articles are later copied by others. What should be done with such articles. Possible values are: "skipHasDuplicates" (skip the resulting articles that have been later copied by others) "keepOnlyHasDuplicates" (return only the articles that have been later copied by others) "keepAll" (no filtering, default)

    ignoreAuthorUri?: string | string[] | QueryItems

    Ignore articles that were written by any of the specified authors.

    ignoreCategoryUri?: string | string[] | QueryItems

    Ignore articles that are assigned to a particular category.

    ignoreConceptUri?: string | string[] | QueryItems

    Ignore articles that mention all provided concepts.

    ignoreKeywords?: string | string[] | QueryItems

    Ignore articles that mention all provided keywords.

    ignoreKeywordSearchMode?: "simple" | "exact" | "phrase"
    ignoreKeywordsLoc?: "body" | "title" | "body,title"

    Where should we look when data should be used when searching using the keywords provided by "ignoreKeywords" parameter. "body" (default), "title", or "body,title".

    ignoreLang?: string | string[] | QueryItems

    Ignore articles that are written in any of the provided languages.

    ignoreLocationUri?: string | string[] | QueryItems

    Ignore articles that occurred in any of the provided locations. A location can be a city or a place.

    ignoreSourceGroupUri?: string | string[] | QueryItems

    Ignore articles that have been written by sources in any of the specified source groups.

    ignoreSourceLocationUri?: string | string[] | QueryItems

    Ignore articles that have been written by sources located at any of the specified locations.

    ignoreSourceUri?: string | string[] | QueryItems

    Ignore articles that have been written by any of the specified news sources.

    isDuplicateFilter?: "keepAll" | "skipDuplicates" | "keepOnlyDuplicates"

    Some articles can be duplicates of other articles. What should be done with them. Possible values are: "skipDuplicates" (skip the resulting articles that are duplicates of other articles) "keepOnlyDuplicates" (return only the duplicate articles) "keepAll" (no filtering, default)

    keywords?: string | string[] | QueryItems

    Find articles that mention the specified keywords. A single keyword/phrase can be provided as a string, multiple keywords/phrases can be provided as a list of strings. Use QueryItems.AND() if all provided keywords/phrases should be mentioned, or QueryItems.OR() if any of the keywords/phrases should be mentioned. or QueryItems.OR() to specify a list of keywords where any of the keywords have to appear

    keywordSearchMode?: "simple" | "exact" | "phrase"
    keywordsLoc?: "body" | "title" | "body,title"

    Where should we look when searching using the keywords provided by "keywords" parameter. "body" (default), "title", or "body,title".

    lang?: string | string[]

    find articles that are written in the specified language. If more than one language is specified, resulting articles has to be written in any of the languages.

    linksFilter?: "keepAll" | "skipIfHasLinks" | "keepOnlyIfHasLinks"

    Some articles contain links to other URLs and some don't. What should be done with them. Possible values are: "skipIfHasLinks" (skip articles that contain one or more links) "keepOnlyIfHasLinks" (return only articles that contain a link to other URLs) "keepAll" (no filtering, default)

    locationUri?: string | string[] | QueryItems

    Find articles that describe something that occurred at a particular location. If value can be a string or a list of strings provided in QueryItems.OR(). Location uri can either be a city or a country. Location uri for a given name can be obtained using EventRegistry.getLocationUri().

    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 non-English articles)

    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 non-English articles)

    requestedResult?: RequestArticles

    The information to return as the result of the query. By default return the list of matching articles.

    sourceGroupUri?: string | string[] | QueryItems

    Find articles that were written by news sources that are assigned to the specified source group. If multiple source groups are provided, then put them into a list inside QueryItems.OR() Source group uri for a given name can be obtained using EventRegistry.getSourceGroupUri().

    sourceLocationUri?: string | string[] | QueryItems

    Find articles that were written by news sources located in the given geographic location. If multiple source locations are provided, then put them into a list inside QueryItems.OR() Location uri can either be a city or a country. Location uri for a given name can be obtained using EventRegistry.getLocationUri().

    sourceUri?: string | string[] | QueryItems

    find articles that were written by a news source sourceUri. If multiple sources should be considered use QueryItems.OR() to provide the list of sources. Source uri for a given news source name can be obtained using EventRegistry.getNewsSourceUri().

    startSourceRankPercentile?: number

    Starting percentile of the sources to consider in the results (default: 0). Value should be in range 0-90 and divisible by 10.

    videosFilter?: "keepAll" | "skipIfHasVideos" | "keepOnlyIfHasVideos"

    Some articles contain a link to a video and some don't. What should be done with them. Possible values are: "skipIfHasVideos" (skip articles that contain a link to a video) "keepOnlyIfHasVideos" (return only articles that contain a link to a video) "keepAll" (no filtering, default)