pymaid.CatmaidInstance.make_url

CatmaidInstance.make_url(*args, **GET)[source]

Generates URL.

Parameters:
  • *args

    Will be turned into the URL. For example:

    >>> remote_instance.make_url('skeleton', 'list')
    'http://my-server.com/skeleton/list'
    

  • **GET

    Keyword arguments are assumed to be GET request queries and will be encoded in the url. For example:

    >>> remote_instance.make_url('skeleton', node_gt: 100)
    'http://my-server.com/skeleton?node_gt=100'
    

Returns:

url

Return type:

str