pynytimes
Search
⌃
K
Introduction to pynytimes
Getting Started
Installation
Usage
Citation
Search
Article Search
Book Reviews
Movie Reviews
Popular
Top Stories
Most Viewed
Most Shared
Best Sellers Lists
Metadata
Article Metadata
Archive Metadata
Latest Articles
Other
Tags
Advanced Usage
Close Connection
Automatic Connection
Repository
Powered By
GitBook
Article Metadata
Get all metadata from an article.
Usage
NYTAPI
.
article_metadata
(
url
)
Parameters
Variables
Description
Data type
Required
url
URL of the article
str
True
Example
metadata
=
nyt
.
article_metadata
(
url
=
"https://www.nytimes.com/2019/10/20/world/middleeast/erdogan-turkey-nuclear-weapons-trump.html"
)
Popular - Previous
Best Sellers Lists
Next - Metadata
Archive Metadata
Last modified
8mo ago