NytMostPopular Python SDK 1.0.0
Welcome to the NytMostPopular SDK documentation. This guide will help you get started with integrating and using the NytMostPopular SDK in your project.
Versions
- API version:
2.0.0 - SDK version:
1.0.0
About the API
Provides services for getting the most popular articles on NYTimes.com based on emails, shares, or views. Get most emailed articles for the last day: /emailed/1.json Get most shared articles on Facebook for the last day: /shared/1/facebook.json Get most viewed articles for the last seven days: /viewed/7.json ## Example Calls https://api.nytimes.com/svc/mostpopular/v2/emailed/7.json?api-key=yourkey https://api.nytimes.com/svc/mostpopular/v2/shared/1/facebook.json?api-key=yourkey https://api.nytimes.com/svc/mostpopular/v2/viewed/1.json?api-key=yourkey
Table of Contents
Setup & Configuration
Supported Language Versions
This SDK is compatible with the following versions: Python >= 3.7
Installation
To get started with the SDK, we recommend installing using pip:
pip install nyt-most-popular
Services
The SDK provides various services to interact with the API.
Below is a list of all available services with links to their detailed documentation:
| Name |
|---|
| MostPopularService |
Models
The SDK includes several models that represent the data structures used in API requests and responses. These models help in organizing and managing the data efficiently.
Below is a list of all available models with links to their detailed documentation:
License
This SDK is licensed under the MIT License.
See the LICENSE file for more details.
Metadata
Release files for nyt-most-popular 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nyt-most-popular-1.0.0.tar.gz | 20.3 kB | Without provenance | Details for nyt-most-popular-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nyt_most_popular-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for nyt_most_popular-1.0.0-py3-none-any.whl |
Total release size: 56.6 kB
Release files / nyt-most-popular-1.0.0.tar.gz
| Download URL | nyt-most-popular-1.0.0.tar.gz |
|---|---|
| Size | 20.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a206dd60b28418be81398107b1961a0cc0ea74fc275e185a421b9a3322fb322
|
|
BLAKE2b-256 checksum How to use checksums |
4c1c65b1c917e3b309bba8ef662c2ad9d267f2100e0bc272f75b92fa7a09f70b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|
Release files / nyt_most_popular-1.0.0-py3-none-any.whl
| Download URL | nyt_most_popular-1.0.0-py3-none-any.whl |
|---|---|
| Size | 36.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8abc18e52093baa6d465ad4043e409c4a381b5c8c1192bf1b5c8c08313d74f5d
|
|
BLAKE2b-256 checksum How to use checksums |
6d651f015bea85c7eb9590b219aeea7ce62fbbd4caba7eb0584d5e0e2ad37265
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|
Security for nyt-most-popular 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.