200 lines
No EOL
7.8 KiB
HTML
200 lines
No EOL
7.8 KiB
HTML
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
<title>Twython — Twython 3.0.0 documentation</title>
|
|
|
|
<link rel="stylesheet" href="_static/default.css" type="text/css" />
|
|
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
|
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
|
|
|
|
<script type="text/javascript">
|
|
var DOCUMENTATION_OPTIONS = {
|
|
URL_ROOT: './',
|
|
VERSION: '3.0.0',
|
|
COLLAPSE_INDEX: false,
|
|
FILE_SUFFIX: '.html',
|
|
HAS_SOURCE: true
|
|
};
|
|
</script>
|
|
<script type="text/javascript" src="_static/jquery.js"></script>
|
|
<script type="text/javascript" src="_static/underscore.js"></script>
|
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
|
<link rel="top" title="Twython 3.0.0 documentation" href="#" />
|
|
<link rel="next" title="Installation" href="usage/install.html" />
|
|
</head>
|
|
<body>
|
|
<div class="related">
|
|
<h3>Navigation</h3>
|
|
<ul>
|
|
<li class="right" style="margin-right: 10px">
|
|
<a href="genindex.html" title="General Index"
|
|
accesskey="I">index</a></li>
|
|
<li class="right" >
|
|
<a href="py-modindex.html" title="Python Module Index"
|
|
>modules</a> |</li>
|
|
<li class="right" >
|
|
<a href="usage/install.html" title="Installation"
|
|
accesskey="N">next</a> |</li>
|
|
<li><a href="#">Twython 3.0.0 documentation</a> »</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="document">
|
|
<div class="documentwrapper">
|
|
<div class="bodywrapper">
|
|
<div class="body">
|
|
|
|
<div class="section" id="twython">
|
|
<h1>Twython<a class="headerlink" href="#twython" title="Permalink to this headline">¶</a></h1>
|
|
<blockquote>
|
|
<div><div class="line-block">
|
|
<div class="line">Actively maintained, pure Python wrapper for the Twitter API. Supports both normal and streaming Twitter APIs</div>
|
|
</div>
|
|
</div></blockquote>
|
|
<div class="section" id="features">
|
|
<h2>Features<a class="headerlink" href="#features" title="Permalink to this headline">¶</a></h2>
|
|
<ul>
|
|
<li><dl class="first docutils">
|
|
<dt>Query data for:</dt>
|
|
<dd><ul class="first last simple">
|
|
<li>User information</li>
|
|
<li>Twitter lists</li>
|
|
<li>Timelines</li>
|
|
<li>Direct Messages</li>
|
|
<li>and anything found in <a class="reference external" href="https://dev.twitter.com/docs/api/1.1">the Twitter API docs</a>.</li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</li>
|
|
<li><dl class="first docutils">
|
|
<dt>Image Uploading!</dt>
|
|
<dd><ul class="first last simple">
|
|
<li><strong>Update user status with an image</strong></li>
|
|
<li>Change user avatar</li>
|
|
<li>Change user background image</li>
|
|
<li>Change user banner image</li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</li>
|
|
<li><p class="first">Support for Twitter’s Streaming API</p>
|
|
</li>
|
|
<li><p class="first">Seamless Python 3 support!</p>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="section" id="usage">
|
|
<h2>Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
|
<div class="toctree-wrapper compound">
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="usage/install.html">Installation</a><ul>
|
|
<li class="toctree-l2"><a class="reference internal" href="usage/install.html#pip-or-easy-install">Pip or Easy Install</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="usage/install.html#source-code">Source Code</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="usage/starting_out.html">Starting Out</a><ul>
|
|
<li class="toctree-l2"><a class="reference internal" href="usage/starting_out.html#beginning">Beginning</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="usage/starting_out.html#authentication">Authentication</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="usage/starting_out.html#handling-the-callback">Handling the Callback</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="usage/starting_out.html#the-twython-api-table">The Twython API Table</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="usage/starting_out.html#dynamic-function-arguments">Dynamic Function Arguments</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="usage/basic_usage.html">Basic Usage</a><ul>
|
|
<li class="toctree-l2"><a class="reference internal" href="usage/basic_usage.html#what-twython-returns">What Twython Returns</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="usage/basic_usage.html#user-information">User Information</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="usage/basic_usage.html#authenticated-users-home-timeline">Authenticated Users Home Timeline</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="usage/basic_usage.html#search">Search</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="usage/basic_usage.html#updating-status">Updating Status</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="twython-api-documentation">
|
|
<h2>Twython API Documentation<a class="headerlink" href="#twython-api-documentation" title="Permalink to this headline">¶</a></h2>
|
|
<div class="toctree-wrapper compound">
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="api.html">Developer Interface</a><ul>
|
|
<li class="toctree-l2"><a class="reference internal" href="api.html#core-interface">Core Interface</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="api.html#streaming-interface">Streaming Interface</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="api.html#exceptions">Exceptions</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="sphinxsidebar">
|
|
<div class="sphinxsidebarwrapper">
|
|
<h3><a href="#">Table Of Contents</a></h3>
|
|
<ul>
|
|
<li><a class="reference internal" href="#">Twython</a><ul>
|
|
<li><a class="reference internal" href="#features">Features</a></li>
|
|
<li><a class="reference internal" href="#usage">Usage</a><ul>
|
|
</ul>
|
|
</li>
|
|
<li><a class="reference internal" href="#twython-api-documentation">Twython API Documentation</a><ul>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
|
|
<h4>Next topic</h4>
|
|
<p class="topless"><a href="usage/install.html"
|
|
title="next chapter">Installation</a></p>
|
|
<h3>This Page</h3>
|
|
<ul class="this-page-menu">
|
|
<li><a href="_sources/index.txt"
|
|
rel="nofollow">Show Source</a></li>
|
|
</ul>
|
|
<div id="searchbox" style="display: none">
|
|
<h3>Quick search</h3>
|
|
<form class="search" action="search.html" method="get">
|
|
<input type="text" name="q" />
|
|
<input type="submit" value="Go" />
|
|
<input type="hidden" name="check_keywords" value="yes" />
|
|
<input type="hidden" name="area" value="default" />
|
|
</form>
|
|
<p class="searchtip" style="font-size: 90%">
|
|
Enter search terms or a module, class or function name.
|
|
</p>
|
|
</div>
|
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
|
</div>
|
|
</div>
|
|
<div class="clearer"></div>
|
|
</div>
|
|
<div class="related">
|
|
<h3>Navigation</h3>
|
|
<ul>
|
|
<li class="right" style="margin-right: 10px">
|
|
<a href="genindex.html" title="General Index"
|
|
>index</a></li>
|
|
<li class="right" >
|
|
<a href="py-modindex.html" title="Python Module Index"
|
|
>modules</a> |</li>
|
|
<li class="right" >
|
|
<a href="usage/install.html" title="Installation"
|
|
>next</a> |</li>
|
|
<li><a href="#">Twython 3.0.0 documentation</a> »</li>
|
|
</ul>
|
|
</div>
|
|
<div class="footer">
|
|
© Copyright 2013, Ryan McGrath.
|
|
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
|
|
</div>
|
|
</body>
|
|
</html> |