Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language list contains unavaliable or invalid codes #78

Open
strzelca opened this issue Mar 25, 2023 · 0 comments
Open

Language list contains unavaliable or invalid codes #78

strzelca opened this issue Mar 25, 2023 · 0 comments

Comments

@strzelca
Copy link

Describe the bug
Langauge list in newsapi/const.py contains invalid language and 2 of them don't follow ISO-639-1 standard.

To Reproduce
Try to use 'se' country code with /everything endpoint, it won't give results and isn't available on NewsAPI documentation.

'cn' and 'en-US' aren't ISO-639-1 codes

Desktop (please complete the following information):

  • OS: MacOS, Arch Linux
  • Browser: Chrome, VSCode (Python 3.10, iso639 library)
tmm6907 pushed a commit to tmm6907/newsapi-python that referenced this issue Sep 10, 2023
mattlisiv pushed a commit that referenced this issue Sep 11, 2023
Co-authored-by: terrence.moore <terrence.moore@aireon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant