public function api($config = array())
    {
        $config = array_merge_recursive($config, array(
            'key' => get_config_value('locations.api_key'),
            'service' => $this->_service,
            'libraries' => array()
        ));

        return $this->_render('api_'.$config['service'], $config);
    }