@@ -53,14 +53,14 @@ def decode_token_data(token):
5353
5454class MerginClient :
5555 """
56- Client for Mergin service.
56+ Client for Mergin Maps service.
5757
58- :param url: String, Mergin service URL.
59- :param auth_token: String, Mergin authorization token.
60- :param login: String, login for Mergin service.
61- :param password: String, password for Mergin service.
58+ :param url: String, Mergin Maps service URL.
59+ :param auth_token: String, Mergin Maps authorization token.
60+ :param login: String, login for Mergin Maps service.
61+ :param password: String, password for Mergin Maps service.
6262 :param plugin_version: String, info about plugin and QGIS version.
63- :param proxy_config: Dictionary, proxy settings to use when connecting to Mergin service. At least url and port
63+ :param proxy_config: Dictionary, proxy settings to use when connecting to Mergin Maps service. At least url and port
6464 of the server should be provided. Expected keys: "url", "port", "user", "password".
6565 Currently, only HTTP proxies are supported.
6666 """
@@ -128,7 +128,7 @@ def __init__(self, url=None, auth_token=None, login=None, password=None, plugin_
128128 self .login (login , password )
129129
130130 def setup_logging (self ):
131- """Setup Mergin client logging."""
131+ """Setup Mergin Maps client logging."""
132132 client_log_file = os .environ .get ('MERGIN_CLIENT_LOG' , None )
133133 self .log = logging .getLogger ('mergin.client' )
134134 self .log .setLevel (logging .DEBUG ) # log everything (it would otherwise log just warnings+errors)
@@ -138,14 +138,14 @@ def setup_logging(self):
138138 log_handler .setFormatter (logging .Formatter ('%(asctime)s %(message)s' ))
139139 self .log .addHandler (log_handler )
140140 else :
141- # no Mergin log path in the environment - create a null handler that does nothing
141+ # no Mergin Maps log path in the environment - create a null handler that does nothing
142142 null_logger = logging .NullHandler ()
143143 self .log .addHandler (null_logger )
144144
145145 @staticmethod
146146 def default_url ():
147- """ Returns URL of the public instance of Mergin """
148- return "https://public.cloudmergin .com"
147+ """ Returns URL of the public instance of Mergin Maps """
148+ return "https://app.merginmaps .com"
149149
150150 def user_agent_info (self ):
151151 """ Returns string as it is sent as User-Agent http header to the server """
@@ -328,7 +328,7 @@ def user_service(self):
328328
329329 def create_project (self , project_name , is_public = False , namespace = None ):
330330 """
331- Create new project repository in user namespace on Mergin server.
331+ Create new project repository in user namespace on Mergin Maps server.
332332 Optionally initialized from given local directory.
333333
334334 :param project_name: Project name
@@ -360,7 +360,7 @@ def create_project_and_push(self, project_name, directory, is_public=False, name
360360 Convenience method to create project and push the initial version right after that.
361361 """
362362 if os .path .exists (os .path .join (directory , '.mergin' )):
363- raise ClientError ('Directory is already assigned to a Mergin project (contains .mergin sub-dir)' )
363+ raise ClientError ('Directory is already assigned to a Mergin Maps project (contains .mergin sub-dir)' )
364364
365365 if namespace is None :
366366 namespace = self .username ()
@@ -375,7 +375,7 @@ def create_project_and_push(self, project_name, directory, is_public=False, name
375375 def paginated_projects_list (self , page = 1 , per_page = 50 , tags = None , user = None , flag = None , name = None ,
376376 namespace = None , order_params = None ):
377377 """
378- Find all available mergin projects.
378+ Find all available Mergin Maps projects.
379379
380380 :param tags: Filter projects by tags ('valid_qgis', 'mappin_use', input_use')
381381 :type tags: List
@@ -426,7 +426,7 @@ def paginated_projects_list(self, page=1, per_page=50, tags=None, user=None, fla
426426
427427 def projects_list (self , tags = None , user = None , flag = None , q = None ):
428428 """
429- Find all available Mergin projects. It will always retrieve max 100 projects.
429+ Find all available Mergin Maps projects. It will always retrieve max 100 projects.
430430 Consider using the paginated_projects_list instead.
431431
432432 :param tags: Filter projects by tags ('valid_qgis', 'mappin_use', input_use')
@@ -732,7 +732,7 @@ def get_projects_by_names(self, projects):
732732 """ Returns JSON with projects' info for list of required projects.
733733 The schema of the returned information is the same as the response from projects_list().
734734
735- This is useful when we have a couple of Mergin projects available locally and we want to
735+ This is useful when we have a couple of Mergin Maps projects available locally and we want to
736736 find out their status at once (e.g. whether there is a new version on the server).
737737
738738 :param projects: list of projects in the form 'namespace/project_name'
0 commit comments