def getApiVersion(connection): return connection.url.split("/")[-1]