Updated languages and countries to use the correct set of 2-letter ISO 3166-1 and ISO-639-1 codes listed on NewsAPI Documentation.
Update const.py to include a DEFAULT_LANGUAGES dictionary for mapping ISO 3166-1 to their respective official/most-used language ISO-639-1 code. This resolves the "se" language issue while minimizing results provided by NewsAPI's default: all languages.
Update newsapi_client.py to set payload["language"] to it's countries default language.
Updated languages and countries to use the correct set of 2-letter ISO 3166-1 and ISO-639-1 codes listed on NewsAPI Documentation.
Update const.py to include a DEFAULT_LANGUAGES dictionary for mapping ISO 3166-1 to their respective official/most-used language ISO-639-1 code. This resolves the "se" language issue while minimizing results provided by NewsAPI's default: all languages.
Update newsapi_client.py to set payload["language"] to it's countries default language.