示例#1
0
 def api_call(url, id):
     response = APICall.get(url, uri=id)
     return Lookup._unwrap(response, searcher.model.res_name)
示例#2
0
 def api_call(url, query):
     response = APICall.get(url, q=query)
     return Search._unwrap(response, self.model.wrapper)