|
| 1 | +TOP_HEADLINES_URL = 'https://newsapi.org/v2/top-headlines' |
| 2 | +EVERYTHING_URL = 'https://newsapi.org/v2/everything' |
| 3 | +SOURCES_URL = 'https://newsapi.org/v2/sources' |
| 4 | + |
| 5 | +countries = {'ae','ar','at','au','be','bg','br','ca','ch','cn','co','cu','cz','de','eg','fr','gb','gr','hk', |
| 6 | + 'hu','id','ie','il','in','it','jp','kr','lt','lv','ma','mx','my','ng','nl','no','nz','ph','pl', |
| 7 | + 'pt','ro','rs','ru','sa','se','sg','si','sk','th','tr','tw','ua','us','ve','za'} |
| 8 | + |
| 9 | +languages = {'ar','en','cn','de','es','fr','he','it','nl','no','pt','ru','sv','ud'} |
| 10 | + |
| 11 | +categories = {'business', 'entertainment', 'general', 'health', 'science', 'sports', 'technology'} |
| 12 | + |
| 13 | +sort_method = {'relevancy','popularity','publishedAt'} |
0 commit comments