How can I render a result row using the Views API
The tokens in views requires $view->row_index to be set to be able to get the right rendered fields.

$view = views_get_view('nearme');
$view-&gt;execute('default');
$view-&gt;preview();

$renderer = $view-&gt;style_plugin-&gt;row_plugin;
foreach ($view-&gt;result as $index =&gt; $row) {
  $view-&gt;row_index = $index;
  echo $renderer-&gt;render($row);
}