Skip to content
Prev Previous commit
Next Next commit
Update News_API.py
  • Loading branch information
satriii authored Jun 2, 2021
commit aefdbf742bd29fc497082861121cc0c0c7c55aed
2 changes: 1 addition & 1 deletion APIScripts/New API/News_API.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def Check(input_countries):
if __name__ == "__main__":
while 1:
# Get your API key from New API
newsapi = NewsApiClient(api_key='0864a52124954666bb3e1fd0f7fbb1e6')
newsapi = NewsApiClient(api_key='Your API Key')

input_country = input("Country: ") # Taking country name input
input_countries = [f'{input_country.strip()}']
Expand Down