stop_if_invalid_language: Checks validity of a language

Description Usage Arguments

Description

stop_if_invalid_language checks whether a given language is valid for News API and stops with an error if this is not the case.

Usage

1

Arguments

language

language to check as a string.


newsanchor documentation built on June 29, 2019, 5:02 p.m.