eventregistry
Advanced tools
Changelog
v8.11.1 (2023-03-24)
Updated
QueryEventArticlesIter
class will be significantly faster in returning the articles when you specify the language filter
AddedQueryEventsIter
, QueryEventArticlesIter
, QueryArticlesIter
and QueryMentionsIter
. Example below shows how to use it with QueryEventsIter
class.(async () => {
const er = new EventRegistry();
const events = new QueryEventsIter(er, { keywords: "Obama", maxItems: 30 });
for await (const event of events) {
console.info(event);
}
})();
Changelog
v8.10.0 (2021-10-19)
Added
QueryMentions
that can be used to query mentions of specific event types. The class is currently in beta and not available to users unless they have permissions to use this endpoint. The classes QueryMentions
and QueryMentionsIter
can be used in the same way as classes for querying articles and events, except that some query parameters are added and some removed. Examples for the classes were also added.Updated
initWithComplexQuery
we now check if the provided json is valid json object and report error in case it is notChangelog
v8.9.2 (2021-05-12)
Updated
Added
required
and excluded
optional parameters to the TopicPage class to methods addConcept
, addKeyword
, addCategory
, addSource
, addSourceLocation
and addSourceGroup
.