


"""simple docstring"""







import requests

a__       :							Optional[Any]        =  '''https://newsapi.org/v1/articles?source=bbc-news&sortBy=top&apiKey='''




def      UpperCAmelCase__ (lowerCAmelCase_     ):




					'''simple docstring'''


					__SCREAMING_SNAKE_CASE		     =       requests.get(_NEWS_API + bbc_news_api_key     ).json()
					# each article in the list is a dict
					for i, article in enumerate(bbc_news_page["articles"]						,		1     ):
										print(f"""{i}.) {article['title']}"""     )


if __name__ == "__main__":
		fetch_bbc_news(bbc_news_api_key='''<Your BBC News API key goes here>''')




"""simple docstring"""







from abc import ABC, abstractmethod
from argparse import ArgumentParser




class 				UpperCamelCase_			(				UpperCamelCase):

	"""simple docstring"""





	@staticmethod
	@abstractmethod
	def 						UpperCAmelCase_   (				UpperCAmelCase__    :       ArgumentParser     ) ->			Optional[Any]:
						raise NotImplementedError()




	@abstractmethod
	def 						UpperCAmelCase_   (				self    :       Optional[Any]     ) ->			List[str]:
						raise NotImplementedError()
