nodes: 0, module; 1, function_definition; 2, function_name:movies_box_office; 3, parameters; 4, block; 5, identifier:self; 6, dictionary_splat_pattern; 7, expression_statement; 8, expression_statement; 9, expression_statement; 10, expression_statement; 11, return_statement; 12, identifier:kwargs; 13, comment:"""Gets the top box office earning movies from the API.
             Sorted by most recent weekend gross ticket sales.
  
          Args:
            limit (optional): limits the number of movies returned, default=10
            country (optional): localized data for selected country, default="us"
  
          Returns:
            A dict respresentation of the JSON returned from the API.
          """; 14, assignment; 15, assignment; 16, call; 17, identifier:response; 18, identifier:path; 19, call; 20, identifier:response; 21, call; 22, attribute; 23, argument_list; 24, attribute; 25, argument_list; 26, attribute; 27, argument_list; 28, identifier:self; 29, identifier:_set_attrs_to_values; 30, identifier:response; 31, identifier:self; 32, identifier:_get_path; 33, string; 34, identifier:self; 35, identifier:_GET; 36, identifier:path; 37, identifier:kwargs; 38, string_content:movies_box_office
code: def movies_box_office(self, **kwargs):
          """Gets the top box office earning movies from the API.
             Sorted by most recent weekend gross ticket sales.
  
          Args:
            limit (optional): limits the number of movies returned, default=10
            country (optional): localized data for selected country, default="us"
  
          Returns:
            A dict respresentation of the JSON returned from the API.
          """
          path = self._get_path('movies_box_office')
  
          response = self._GET(path, kwargs)
          self._set_attrs_to_values(response)
          return response