Usage
You can easily import this library using:
Then you can simply add your API key (get your API key from The New York Times Dev Portal):
Make sure that if you commit your code to GitHub you don't accidentially commit your API key.
The following parameters can be set, only the key
parameter is required.
Parameters
Variables | Description | Data type | Required | Default |
---|---|---|---|---|
| The API key from The New York Times |
| True |
|
| Use HTTPS |
| False |
|
| Optionally set your own |
| False |
|
| Enable exponential backoff |
| False |
|
| Set the User Agent |
| False |
|
| Enable the parsing of dates into |
| False |
|
Last updated