@datafire/nytimes_times_tags

6.0.0 • Public • Published

@datafire/nytimes_times_tags

Client library for TimesTags API

Installation and Usage

npm install --save @datafire/nytimes_times_tags
let nytimes_times_tags = require('@datafire/nytimes_times_tags').create({
  apikey: ""
});

.then(data => {
  console.log(data);
});

Description

With the TimesTags API, you can mine the riches of the New York Times tag set. The TimesTags service matches your query to the controlled vocabularies that fuel NYTimes.com metadata. You supply a string of characters, and the service returns a ranked list of suggested terms.

Actions

timestags.get

nytimes_times_tags.timestags.get({
  "query": ""
}, context)

Input

  • input object
    • query required string: Your search query
    • filter string (values: Des, Geo, Org, Per): If you do not specify a value for filter (see the Optional Parameters), your query will be matched to tags in all four Times dictionaries: subject, geographic location, organization and person. To use more than one, separate with commas.
    • max integer: Sets the maximum number of results

Output

  • output array
    • items array
      • items string

Definitions

This integration has no definitions

Readme

Keywords

none

Package Sidebar

Install

npm i @datafire/nytimes_times_tags

Weekly Downloads

1

Version

6.0.0

License

MIT

Unpacked Size

4.98 kB

Total Files

4

Last publish

Collaborators

  • datafire