def __init__(self, pageSize, tagged, _pre_url): ApiClient.__init__( self, pageSize, tagged) self.url_pre = 'http://api.stackexchange.com/2.2/questions/%s/linked?%s'
def __init__(self, pageSize, tagged): ApiClient.__init__( self, pageSize, tagged) self.url_pre = 'http://api.stackexchange.com/2.2/questions/%s/related?%s' self.collectionName = "related_python"
def __init__(self, pageSize, dbClient, collectionName , tagged=None): ApiClient.__init__( self, pageSize, tagged) self.url_pre = 'http://api.stackexchange.com/2.2/questions/%s/linked?%s' self.dbClient = dbClient self.collection = self.dbClient.getCollection(collectionName) self.base_params['site'] = "english.stackexchange.com"