code: def search_star(star):
      '''
      It is also possible to query the stars by label, here is an example of querying for the star labeled as Sun.
  
      http://star-api.herokuapp.com/api/v1/stars/Sun
      '''
  
      base_url = "http://star-api.herokuapp.com/api/v1/stars/"
  
      if not isinstance(star, str):
          raise ValueError("The star arg you provided is not the type of str")
      else:
          base_url += star
  
      return dispatch_http_get(base_urlf search_star(star):
      '''
      It is also possible to query the stars by label, here is an example of querying for the star labeled as Sun.
  
      http://star-api.herokuapp.com/api/v1/stars/Sun
      '''
  
      base_url = "http://star-api.herokuapp.com/api/v1/stars/"
  
      if not isinstance(star, str):
          raise ValueError("The star arg you provided is not the type of str")
      else:
          base_url += star
  
      return dispatch_http_get(base_url)
docs: It is also possible to query the stars by label, here is an example of querying for the star labeled as Sun.
  
      http://star-api.herokuapp.com/api/v1/stars/Sun