import requests

_snake_case								=    '''YOUR API KEY'''




def 	_UpperCamelCase (      snake_case__,     snake_case__ = giphy_api_key				)    -> Optional[Any]:
							__UpperCAmelCase    :      Optional[int]       = "+".join(query.split()				)
							__UpperCAmelCase    :      Optional[int]       = f'''https://api.giphy.com/v1/gifs/search?q={formatted_query}&api_key={api_key}'''
							__UpperCAmelCase    :      Dict       = requests.get(a_				).json()["data"]
							return [gif["url"] for gif in gifs]


if __name__ == "__main__":
	print('''\n'''.join(get_gifs('''space ship''')))










'''simple docstring'''


import math


def     SCREAMING_SNAKE_CASE							(   a_						:				float					,       a_						:				float      ):

  if initial_intensity < 0:
    raise ValueError('The value of intensity cannot be negative'      )
    # handling of negative values of initial intensity
  if angle < 0 or angle > 360:
    raise ValueError('In Malus Law, the angle is in the range 0-360 degrees'      )
    # handling of values out of allowed range
  return initial_intensity * (math.cos(math.radians(a_      )      ) ** 2)


if __name__ == "__main__":
  import doctest

  doctest.testmod(name="malus_law")



