nodes: 0, module; 1, function_definition; 2, function_name:list_media; 3, parameters; 4, block; 5, identifier:self; 6, identifier:series; 7, default_parameter; 8, default_parameter; 9, default_parameter; 10, expression_statement; 11, expression_statement; 12, expression_statement; 13, expression_statement; 14, return_statement; 15, identifier:sort; 16, attribute; 17, identifier:limit; 18, attribute; 19, identifier:offset; 20, integer:0; 21, comment:"""List media for a given series or collection
  
          @param crunchyroll.models.Series series the series to search for
          @param str sort                         choose the ordering of the
                                                      results, only META.SORT_DESC
                                                      is known to work
          @param int limit                        limit size of results
          @param int offset                       start results from this index,
                                                      for pagination
          @return list<crunchyroll.models.Media>
          """; 22, assignment; 23, call; 24, assignment; 25, identifier:result; 26, identifier:META; 27, identifier:SORT_DESC; 28, identifier:META; 29, identifier:MAX_MEDIA; 30, identifier:params; 31, dictionary; 32, attribute; 33, argument_list; 34, identifier:result; 35, call; 36, pair; 37, pair; 38, pair; 39, identifier:params; 40, identifier:update; 41, call; 42, attribute; 43, argument_list; 44, string; 45, identifier:sort; 46, string; 47, identifier:offset; 48, string; 49, identifier:limit; 50, attribute; 51, argument_list; 52, attribute; 53, identifier:list_media; 54, dictionary_splat; 55, string_content:sort; 56, string_content:offset; 57, string_content:limit; 58, identifier:self; 59, identifier:_get_series_query_dict; 60, identifier:series; 61, identifier:self; 62, identifier:_android_api; 63, identifier:params
code: def list_media(self, series, sort=META.SORT_DESC, limit=META.MAX_MEDIA, offset=0):
          """List media for a given series or collection
  
          @param crunchyroll.models.Series series the series to search for
          @param str sort                         choose the ordering of the
                                                      results, only META.SORT_DESC
                                                      is known to work
          @param int limit                        limit size of results
          @param int offset                       start results from this index,
                                                      for pagination
          @return list<crunchyroll.models.Media>
          """
          params = {
              'sort': sort,
              'offset': offset,
              'limit': limit,
          }
          params.update(self._get_series_query_dict(series))
          result = self._android_api.list_media(**params)
          return result