Commit graph

27 commits

Author SHA1 Message Date
Mike Helmick
b484cef7ad Update READMEs
[ci skip]
2013-06-12 16:54:13 -04:00
Mike Helmick
53b930b75f Update requests requirement, update READMEs, new secure variables, attempting better coverage reports
Secure variables were exposed. Had to make new ones.
2013-06-11 14:03:26 -04:00
Mike Helmick
20651290f9 Wearing the coveralls 8), Updating READMEs
[ci skip]
2013-06-08 17:14:54 -04:00
Mike Helmick
14b268e560 README
[ci skip]
2013-05-29 11:50:25 -04:00
Mike Helmick
48e7ccd39c Add Travis Image to READMEs
[ci skip]
2013-05-21 18:30:37 -04:00
Mike Helmick
48fc5d4c36 Update READMEs with nice "# of downloads" image
[ci skip]
2013-05-17 13:13:55 -04:00
Mike Helmick
6238912b96 Update examples and READMEs
[ci skip]
2013-05-16 13:36:46 -04:00
Ryan McGrath
f0f0d12a60 One more thing worth noting 2013-05-04 20:35:13 -04:00
Ryan McGrath
bd0bd2748c Updated docs to fix verbage and note PEP8 swapover for anyone who misses it 2013-05-04 20:33:11 -04:00
Mike Helmick
60b2e14bef Update READMEs, fixed streaming pkg error
Removed Twython 1.3 note from READMEs, explained dynamic function
arguments in another place

Fixed error that caused users to not be able to install 2.9.0
2013-05-04 20:15:02 -04:00
Mike Helmick
498bd9e557 Update more old function names in README 2013-05-04 19:35:21 -04:00
Mike Helmick
84e4c5fe13 Update all endpoints in the api_table, examples, READMEs
Also updated functions in twython.py to use pep8 functions instead of
camelCase functions
2013-05-04 19:28:47 -04:00
Mike Helmick
97a33ce8dd Merge Handling into TwythonStreamer, update examples 2013-05-03 16:57:59 -04:00
Mike Helmick
c3e84bc8ee Fixing streaming 2013-05-02 15:12:36 -04:00
Mike Helmick
4ac6436901 Update Examples and LICENSE
Some examples were out of date (any trends example)
Renamed the core_examples dir. to examples
2013-04-18 22:27:50 -04:00
Mike Helmick
bb019d3a57 Making twython work (again?) in Python 3
- Added a ``HISTORY.rst`` to start tracking history of changes
- Updated ``twitter_endpoints.py`` to ``endpoints.py`` for cleanliness
- Removed twython3k directory, no longer needed
- Added ``compat.py`` for compatability with Python 2.6 and greater
- Added some ascii art, moved description of Twython and ``__author__`` to ``__init__.py``
- Added ``version.py`` to store the current Twython version, instead of repeating it twice -- it also had to go into it's own file because of dependencies of ``requests`` and ``requests-oauthlib``, install would fail because those libraries weren't installed yet (on fresh install of Twython)
- Removed ``find_packages()`` from ``setup.py``, only one package -- we can
just define it
- added quick publish method for Ryan and I: ``python setup.py publish`` is faster to type and easier to remember than ``python setup.py sdist upload``
- Removed ``base_url`` from ``endpoints.py`` because we're just repeating it in
``Twython.__init__``
- ``Twython.get_authentication_tokens()`` now takes ``callback_url`` argument rather than passing the ``callback_url`` through ``Twython.__init__``, ``callback_url`` is only used in the ``get_authentication_tokens`` method and nowhere else (kept in init though for backwards compatability)
- Updated README to better reflect current Twython codebase
- Added ``warnings.simplefilter('default')`` line in ``twython.py`` for Python 2.7 and greater to display Deprecation Warnings in console
- Added Deprecation Warnings for usage of ``twitter_token``, ``twitter_secret`` and ``callback_url`` in ``Twython.__init__``
- Headers now always include the User-Agent as Twython vXX unless User-Agent is overwritten
- Removed senseless TwythonError thrown if method is not GET or POST, who cares -- if the user passes something other than GET or POST just let Twitter return the error that they messed up
- Removed conversion to unicode of (int, bool) params passed to a requests. ``requests`` isn't greedy about variables that can't be converted to unicode anymore
2013-04-18 22:00:23 -04:00
Mike Helmick
969c0f5e72 Move AUTHORS into their own file
remove README md as well, see how the rst looks
2013-04-12 11:35:07 -04:00
Mike Helmick
8dfb076f11 Update authors 2013-04-10 23:08:43 -04:00
Mike Helmick
10dbe11b56 Version bump and update contributors! 2013-04-08 16:40:59 -04:00
Mike Helmick
abaa3e558a oauth_verifier required, remove simplejson dependency, update endpoint
* Update `updateProfileBannerImage` to use the v1.1 endpoint

* Added `getProfileBannerSizes` method using the GET
/users/profile_banner.json endpoint

* Fixed a couple of endpoints using variable in the url:
  * destroyDirectMessage, createBlock, destroyBlock no longer use id in
their urls, this shouldn't break anything though.
(t.destroyDirectMessage(id=123) should still work)

* `oauth_verifier` is now **required** when calling
`get_authorized_tokens`

* Updated docs - removed getProfileImageUrl docs since it is
deprecated. Noted since `Twython` 2.7.0 that users should focus on
migrating to v1.1 endpoints since Twitter is deprecating v1 endpoints
in May!,
2013-04-08 11:49:12 -04:00
Mike Helmick
a172136f3e Update Twitter Endpoints & Internal Functions
* Twitter Endpoints are now in the order of
https://dev.twitter.com/docs/api/1.1

* No need to repeat search function internally when it is available via
`twitter_endpoints.py`

* Make `searchGen` use self.search, instead of self.get with the full
search url
2013-03-20 23:24:26 -04:00
Ryan McGrath
909f1919b1 Added @chbrown to list of known contributors 2012-11-09 04:57:56 -05:00
Mike Helmick
dfdbbec5a8 Add H6's to README.md 2012-06-25 11:54:33 -04:00
Mike Helmick
2155ae0c23 Fix error in README.md, strip some not-needed comments and fixed a ternary 2012-06-25 11:50:44 -04:00
Ryan McGrath
8ea61af4fc Documentation showcasing proper importing; kinda sorta needed. 2012-06-25 05:08:16 +09:00
Ryan McGrath
068c504030 Merge branch 'requests_image_posting' (Pull Request #91)
- Fixes for README
- Re-added a bulkUserLookup method that warns for deprecation
- Merged in @michaelhelmick's work on media and oauth2 deprecation

Conflicts:
	setup.py
	twython/twython.py
2012-06-25 05:02:57 +09:00
Michael Helmick
32a83a6b79 2.1.0 Release
* .md just look cleaner
* Updating documentation to look clean, imo. :P
2012-05-16 18:39:31 -04:00
Renamed from README.markdown (Browse further)