code: def create_api(bases, url, **kwargs):
      
      return 'Ext.app.REMOTING_API = %s;' % json.dumps(create_api_dict(bases, url, **kwargs))
docs: Create the JS code for the API using one or more :class:`Bases <pyextdirect.configuration.Base>`
  
      :param bases: configuration bases
      :type bases: :class:`~pyextdirect.configuration.Base` or list of :class:`~pyextdirect.configuration.Base`
      :param string url: see :func:`create_api_dict`
      :param \*\*kwargs: see :func:`create_api_dict`