blob: 82b117ae9cc869483993e04e28b7afb066fc5bb5 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: class Resource</title>
</head><body bgcolor="#f0f0f8">
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Resource">class <strong>Resource</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;class&nbsp;for&nbsp;interacting&nbsp;with&nbsp;a&nbsp;resource.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Resource-__init__"><strong>__init__</strong></a>(self)</dt></dl>
<dl><dt><a name="Resource-list"><strong>list</strong></a> = method(self, **kwargs)</dt><dd><tt>A&nbsp;description&nbsp;of&nbsp;how&nbsp;to&nbsp;use&nbsp;this&nbsp;function<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;sort:&nbsp;The&nbsp;sort&nbsp;expression&nbsp;to&nbsp;apply&nbsp;to&nbsp;the&nbsp;results<br>
&nbsp;&nbsp;num:&nbsp;Number&nbsp;of&nbsp;search&nbsp;results&nbsp;to&nbsp;return<br>
&nbsp;&nbsp;safe:&nbsp;Search&nbsp;safety&nbsp;level<br>
&nbsp;&nbsp;q:&nbsp;Query&nbsp;(required)<br>
&nbsp;&nbsp;start:&nbsp;The&nbsp;index&nbsp;of&nbsp;the&nbsp;first&nbsp;result&nbsp;to&nbsp;return<br>
&nbsp;&nbsp;cx:&nbsp;The&nbsp;custom&nbsp;search&nbsp;engine&nbsp;ID&nbsp;to&nbsp;scope&nbsp;this&nbsp;search&nbsp;query<br>
&nbsp;&nbsp;lr:&nbsp;The&nbsp;language&nbsp;restriction&nbsp;for&nbsp;the&nbsp;search&nbsp;results<br>
&nbsp;&nbsp;cref:&nbsp;The&nbsp;URL&nbsp;of&nbsp;a&nbsp;linked&nbsp;custom&nbsp;search&nbsp;engine</tt></dd></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table>
</body></html>