Articles ======== RPCS ---- .. function:: NewYorkTimes.getArticleSections() Get a list of all valid article sections. **Returns:** ``List`` (`List `__ | `String `__) .. function:: NewYorkTimes.getArticlesWithConcept(concept: Object) Fetch up to 10 articles containing the given concept. **Arguments:** - ``concept: Object`` (`Object `__) - ``name: String`` (`String `__) - ``type: ConceptType`` (`ConceptType `__) **Returns:** ``List
`` (`List `__) .. function:: NewYorkTimes.getLatestArticles(section: ArticleSection) Get the latest articles in a given section. **Arguments:** - ``section: ArticleSection`` (`ArticleSection `__) **Returns:** ``List`` (`List `__ | `String `__) .. function:: NewYorkTimes.getTopStories(section: ArticleSection) Get the top stories for a given section. **Arguments:** - ``section: ArticleSection`` (`ArticleSection `__) **Returns:** ``List`` (`List `__ | `String `__) .. function:: NewYorkTimes.searchArticles(query: String, offset: BoundedNumber<0>?) Search for articles given a query. Up to 10 articles will be returned. More articles can be retrieved by specifying the "offset" or number of results to skip before returning the results. **Arguments:** - ``query: String`` (`String `__) - ``offset: BoundedNumber<0>?`` (`BoundedNumber `__) - Must be a multiple of 10 **Returns:** ``List`` (`List `__)