stop_if_invalid_source
checks whether a given source is valid for News API and
stops with an error if this is not the case.
1 |
source |
source to check as a string. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.