Permalink
Commits on Sep 18, 2016
  1. Merge pull request #342 from rossgrady/master

    Naming/ordering of keys/secrets in examples (in readme & api.py) is off
    RouxRC committed on GitHub Sep 18, 2016
Commits on Sep 17, 2016
  1. updated example code in readme

    Corrected naming and order of token, token secret, consumer key & consumer secret to match naming & order that actually works
    rossgrady committed on GitHub Sep 17, 2016
  2. updated example code in api.py

    changed naming and ordering of consumer key/secret and token/token secret in examples so that they are in correct order
    rossgrady committed on GitHub Sep 17, 2016
  3. Fix order of secrets/keys in examples

    In the basic examples, the order of consumer secret & consumer key doesn't match what actually works. Fixed.
    rossgrady committed on GitHub Sep 17, 2016
Commits on May 15, 2016
  1. handle python3

    RouxRC committed May 15, 2016
  2. add tests for travis

    RouxRC committed May 15, 2016
  3. add metadata/_json doc

    RouxRC committed May 15, 2016
  4. lower level as suggested by @sixohsix

    cf #326
    RouxRC committed May 15, 2016
Commits on May 12, 2016
  1. handle POST_json special argument

    for special upload API endpoints such as metadata.create of upload.twitter.com
    cf #326
    
    left todo :
    - tests
    - doc
    RouxRC committed May 12, 2016
Commits on Apr 7, 2016
  1. Merge pull request #324 from dbuendiab/master

    Avoid possible negative values of delay in sleep(delay)
    RouxRC committed Apr 7, 2016
Commits on Apr 5, 2016
Commits on Mar 15, 2016
  1. Merge pull request #322 from cristovaov/patch-1

    Fix ResourceWarning on read_bearer_toke_file func
    RouxRC committed Mar 15, 2016
  2. Fix ResourceWarning on read_bearer_toke_file func

    This should fix the following warning when doing a unit test: ResourceWarning: unclosed file <_io.TextIOWrapper name='bearer_token' mode='r' encoding='cp1252'>
    cristovaov committed Mar 15, 2016
Commits on Jan 4, 2016
Commits on Dec 4, 2015
  1. Merge pull request #315 from Zearin/patch-1

    Minor README.md tweaks
    RouxRC committed Dec 4, 2015
  2. Minor README.md tweaks

    Zearin committed Dec 4, 2015
Commits on Nov 23, 2015
  1. Merge pull request #311 from hugovk/patch-1

    Coverage 4.0 doesn't support Python 3.2
    RouxRC committed Nov 23, 2015
  2. Coverage 4.0 doesn't support Python 3.2

    So use the last one that worked for 3.2.
    
    Fixes #310.
    hugovk committed Nov 23, 2015
  3. Merge pull request #309 from horthy/oauth_dance

    Fixes oauth2_dance when a token_filename is passed
    RouxRC committed Nov 23, 2015
  4. Fixes oauth2_dance when a token_filename is passed

    It looks like `oauth2_dance` doesn't currently pass the
    correct number of arguments to `oauth2.write_bearer_token_file`.
    
    This results in a `TypeError`:
    
    ```
    >>> cons = 'MY_KEY'
    >>> sec = 'MY_SECRET'
    >>> oauth2_dance(cons, sec, 'bearer.txt')
    Traceback (most recent call last):
      File "<input>", line 1, in <module>
      File "/Users/dex/.venv/lib/python2.7/site-packages/twitter/oauth_dance.py", line 30, in oauth2_dance
        write_bearer_token_file(token)
    TypeError: write_bearer_token_file() takes exactly 2 arguments (1
    given)
    ```
    
    This change updates `oauth2_dance` to pass both the token and the
    filename to `write_bearer_token_file`.
    Dex committed Nov 23, 2015
Commits on Sep 15, 2015
  1. Merge pull request #302 from hugovk/3.5

    Python 3.5 is out
    RouxRC committed Sep 15, 2015
Commits on Sep 14, 2015
  1. Python 3.5 is out

    hugovk committed Sep 14, 2015
Commits on Jul 28, 2015
  1. Version 1.17.1

    committed Jul 28, 2015
Commits on Jul 21, 2015
  1. Merge pull request #299 from jessamynsmith/master

    If json.loads fails, carry on without raising an exception. Fixes #298
    RouxRC committed Jul 21, 2015
Commits on Jun 3, 2015
Commits on May 12, 2015
Commits on Apr 20, 2015
  1. Version 1.17.0

    committed Apr 20, 2015
  2. Merge pull request #287 from jessamynsmith/master

    Improved error handling
    
    I had to make a small change to get tests running on my environment. Then I added better checking on OAuth credentials, so the code doesn't fail out later with an obscure message. Finally, I brought the handling of error data in line with the handling of response data. This last does change behaviour, and if you don't want that, I can back out that change.
    committed Apr 20, 2015