You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -12,9 +12,9 @@ By the Python-Twitter Developers <python-twitter@googlegroups.com>
12
12
Introduction
13
13
============
14
14
15
-
This library provides a pure Python interface for the `Twitter API https://dev.twitter.com/`. It works with Python versions from 2.6+. Python 3 support is under development.
15
+
This library provides a pure Python interface for the `Twitter API <https://dev.twitter.com/>`_. It works with Python versions from 2.6+. Python 3 support is under development.
16
16
17
-
`Twitter http://twitter.com` provides a service that allows people to connect via the web, IM, and SMS. Twitter exposes a `web services API https://dev.twitter.com/overview/documentation` and this library is intended to make it even easier for Python programmers to use.
17
+
`Twitter <http://twitter.com>`_ provides a service that allows people to connect via the web, IM, and SMS. Twitter exposes a `web services API <https://dev.twitter.com/overview/documentation>`_ and this library is intended to make it even easier for Python programmers to use.
18
18
19
19
==========
20
20
Installing
@@ -26,8 +26,8 @@ You can install python-twitter using::
26
26
27
27
Testing::
28
28
29
-
$ python twitter_test.py
30
-
29
+
$ python test.py
30
+
31
31
================
32
32
Getting the code
33
33
================
@@ -38,19 +38,19 @@ Check out the latest development version anonymously with::
Setup a virtual environment and install dependencies:
43
43
44
44
$ make env
45
45
46
46
Activate the virtual environment created:
47
47
48
48
$ source env/bin/activate
49
-
49
+
50
50
Run tests:
51
51
52
52
$ make test
53
-
53
+
54
54
To see other options available, run:
55
55
56
56
$ make help
@@ -94,13 +94,13 @@ The API is exposed via the ``twitter.Api`` class.
94
94
95
95
The python-twitter library now only supports OAuth authentication as the Twitter devs have indicated that OAuth is the only method that will be supported moving forward.
96
96
97
-
To generate an Access Token you have to pick what type of access your application requires and then do one of the following::
97
+
To generate an Access Token you have to pick what type of access your application requires and then do one of the following:
98
98
99
-
- `Generate a token to access your own account <https://dev.twitter.com/oauth/overview/application-owner-access-tokens>`
100
-
- `Generate a pin-based token <https://dev.twitter.com/oauth/pin-based>`
101
-
- use the helper script `get_access_token.py <https://github.com/bear/python-twitter/blob/master/get_access_token.py>`
99
+
- `Generate a token to access your own account <https://dev.twitter.com/oauth/overview/application-owner-access-tokens>`_
100
+
- `Generate a pin-based token <https://dev.twitter.com/oauth/pin-based>`_
101
+
- use the helper script `get_access_token.py <https://github.com/bear/python-twitter/blob/master/get_access_token.py>`_
102
102
103
-
For full details see the `Twitter OAuth Overview <https://dev.twitter.com/oauth/overview>`
103
+
For full details see the `Twitter OAuth Overview <https://dev.twitter.com/oauth/overview>`_
104
104
105
105
To create an instance of the ``twitter.Api`` with login credentials (Twitter now requires an OAuth Access Token for all API calls)::
106
106
@@ -143,7 +143,7 @@ There are many more API methods, to read the full API documentation::
143
143
Todo
144
144
----
145
145
146
-
Patches and bug reports are [welcome](https://github.com/bear/python-twitter/issues/new), just please keep the style consistent with the original source.
146
+
Patches and bug reports are `welcome<https://github.com/bear/python-twitter/issues/new>`_, just please keep the style consistent with the original source.
147
147
148
148
Add more example scripts.
149
149
@@ -157,7 +157,7 @@ The ``twitter.Status`` and ``twitter.User`` classes could perform more validatio
157
157
More Information
158
158
----------------
159
159
160
-
Please visit `the google group http://groups.google.com/group/python-twitter` for more discussion.
160
+
Please visit `the google group <http://groups.google.com/group/python-twitter>`_ for more discussion.
161
161
162
162
------------
163
163
Contributors
@@ -172,13 +172,13 @@ License
172
172
-------
173
173
174
174
|Copyright 2007-2014 The Python-Twitter Developers
175
-
|
175
+
|
176
176
|Licensed under the Apache License, Version 2.0 (the 'License');
177
177
|you may not use this file except in compliance with the License.
178
178
|You may obtain a copy of the License at
179
-
|
179
+
|
180
180
|http://www.apache.org/licenses/LICENSE-2.0
181
-
|
181
+
|
182
182
|Unless required by applicable law or agreed to in writing, software
183
183
|distributed under the License is distributed on an 'AS IS' BASIS,
184
184
|WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0 commit comments