public_api_specs
public_api_specs copied to clipboard
The API Specs (in OpenAPI/Swagger) for the APIs available from developer.nytimes.com
I got the `url` properties `nyt://article/c5798482-0b2b-502a-9484-de0d86a3830c` and try to fetch with Search API as the following: ```js const result = await axios.get( `/svc/search/v2/articlesearch.json?fq=uri:"nyt://article/c5798482-0b2b-502a-9484-de0d86a3830c"&api-key=myAPIKey` ) ``` and the response I want...
Hi there! I'm trying to use Article Search API to download articles that are relevant to this query: `("military" OR "soldier*" OR "air force" OR "navy" OR "army") AND ("threat*"...
There seems to be an issue with retrieving some articles by ID. Example: Ask for a page of news: https://api.nytimes.com/svc/search/v2/articlesearch.json?fl=_id,headline,document_type&api-key=...&page=0 and the API returns `{"status":"OK", "copyright":"Copyright (c) 2021 The New...
What would it take to get your OpenAPI imported into Postman and published as a collection to the Postman API Network? https://explore.postman.com/ -- so that it can searchable in the...
Hello, In the Most Popular API, the **media** element of an article is an empty string instead of an empty array. This causes type issues when parsing.
When Media tag is empty its returning an empty String instead of an empty array. http://api.nytimes.com/svc/mostpopular/v2/mostviewed/all-sections/7.json?apikey=XYZ { "url":"https:\/\/www.nytimes.com\/2018\/05\/17\/style\/royal-wedding-time-date.html", "adx_keywords":"Royal Wedding;Weddings and Engagements;Time;Harry, Prince of Wales;Markle, Meghan", "column":null, "section":"Style", "byline":"By THE...
I'm having some issues querying the Geo API and am wondering if someone can provide me an example or let me know what I am doing incorrectly. I would like...