Commit graph

837 commits

Author SHA1 Message Date
ba1110d4b8
Update Manifest to fix installation 2020-04-03 02:22:17 -07:00
74c72f88fd
Remove old links in docs 2020-04-02 23:39:07 -07:00
d096ed45bb Merge branch 'master' of github.com:ryanmcgrath/twython 2020-04-02 23:28:44 -07:00
cbfec150df
Close #486 - given how long ago this was deprecated I'll assume it's not even used 2020-04-02 23:28:35 -07:00
1b004b6155
Merge pull request #513 from jayvdb/patch-1
MANIFEST.in: Add docs, examples and tests
2020-04-02 23:09:24 -07:00
b8d927df8e
Kill 2.6/2.7 2020-04-02 23:08:52 -07:00
ea2979c75f
Remove this merge as numpy shouldn't be a dependency 2020-04-02 23:02:01 -07:00
58587b5e07
Merge pull request #520 from AnnaYasenova/patch-1
Update compat.py
2020-04-02 23:01:03 -07:00
9718f54afe
Merge pull request #514 from jayvdb/py37
Add Python 3.7 support
2020-04-02 23:00:32 -07:00
7ce058e6fd
Resolve issues with Pypi publishing (RST -> MD) and bump to 3.8.0 2020-04-02 22:58:15 -07:00
33fccac46b
Fix this so Pypi publishing works again 2020-04-02 22:48:57 -07:00
Mike Helmick
40a8bd2d15
Merge pull request #527 from timgates42/bugfix/typo_specifically
Fix simple typo: specifcally -> specifically
2020-03-02 09:28:55 -05:00
Tim Gates
1b085180ff
Fix simple typo: specifcally -> specifically
Closes #526
2020-02-28 05:37:05 +11:00
AnnaYasenova
d05fe7516e
Update compat.py 2019-08-20 12:38:20 +03:00
Mike Helmick
7366de80ef
Merge pull request #500 from manuelcortez/master
Added support for the new direct message endpoints
2019-04-10 10:01:10 -04:00
John Vandenberg
a029433247 Add Python 3.7 support
Also remove branch restriction in .travis.yml which
prevents contributors from seeing builds on their forks.
2019-03-30 11:12:19 +07:00
John Vandenberg
554fba4357
MANIFEST.in: Add docs, examples and tests
Closes https://github.com/ryanmcgrath/twython/issues/507
2019-03-10 20:01:14 +07:00
a5e3124f20
Merge pull request #499 from VishvajitP/master
ISSUE-497 : get_oembed_tweet() uses incorrect endpoint
2018-12-02 10:29:30 +09:00
Manuel Cortez
4f29fd041b Fixed indentation 2018-11-16 05:34:52 -06:00
Manuel Cortez
449807a759 Fixed code styling 2018-09-30 10:53:08 -05:00
Manuel Cortez
96dd5b2897 Added support for delete direct_messages/events/destroy endpoint 2018-09-29 11:09:39 -05:00
Manuel Cortez
a8a0777f72 Added delete methods to Twython's API 2018-09-29 11:09:00 -05:00
Vishvajit Pathak
340fb4ea16 ISSUE-497 : Fixed the api end point in get_oembed_tweet 2018-09-29 15:18:31 +05:30
Manuel Cortez
36fda7ac02 Added new endpoints for direct messages 2018-09-22 12:01:57 -05:00
Mike Helmick
c9e8a46200 Version 3.7.0 2018-05-07 12:52:54 -04:00
Mike Helmick
62e45e9637
Merge pull request #386 from eoso/cursor-fix
Cursor fix
2018-05-07 11:35:25 -04:00
Mike Helmick
677849aa75
Merge pull request #478 from philgyford/patch-1
Removing unused file
2018-01-08 09:36:55 -05:00
Mike Helmick
aa275a4956
Merge pull request #479 from philgyford/fix-html-for-tweet-2
Fix links in tweets when there's a prefix
2018-01-08 09:36:12 -05:00
Phil Gyford
2cfdaaf6e4 Remove an emoji from a tweet to make test work
Rendering emojis in tweets in python 2 may be an entirely different
issue to tackle...
2018-01-06 19:53:00 +00:00
Phil Gyford
73982c78f4 Fix links in tweets when there's a prefix
If a tweet had a prefix (@names that it was replying to) then the length
of these is counted in the indices that show the locations of entities
within the tweet. But we were applying those indices to the 'display'
part of the tweet that doesn't include the prefix.

So, if the tweet was:

    @bob Please meet @bill

and the prefix was `@bob `, then the indices for linking `@bill`
are something like `17,21`. But we were applying the link around
`@bill` to the display text part of the tweet, which is:

    Please meet @bill

And so the indices no longer lined up with `@bill`.

Now they do, and the same for URLs and hashtags.
2018-01-06 19:03:17 +00:00
Phil Gyford
b009ed30b8
Removing unused file
Sorry, I'm not sure how or why I added this in, but it's not needed by anything!
2018-01-06 17:27:18 +00:00
Mike Helmick
354e31b914
Merge pull request #469 from jvanasco/fix-small_docs
- Cleaned up some docstrings with Sphinx markup and param names.
2017-11-06 12:49:18 -05:00
Mike Helmick
9b46ca5845
Update HISTORY.rst 2017-11-06 12:49:10 -05:00
jonathan vanasco
05fbf6b8b2 - Cleaned up some docstrings with Sphinx markup and param names. 2017-11-06 10:35:26 -05:00
Mike Helmick
3f5de4ad89 Merge pull request #465 from clayadavis/docs
Document api.cursor's return_pages kwarg
2017-10-19 13:43:05 -04:00
Clayton A Davis
db40a1c56c Add doc for cursor's return_pages kwarg 2017-10-18 14:05:12 -04:00
Clayton A Davis
0f64978a08 Fix typo in cursor example 2017-10-18 14:01:34 -04:00
Mike Helmick
1dcd9cc26e Merge pull request #463 from clayadavis/docs
Update links to Twitter docs
2017-10-13 09:42:54 -04:00
Mike Helmick
805590c0d2 Merge pull request #461 from philgyford/fix-media-in-html-for-tweet
Fix URLs for multiple media in html_for_tweet()
2017-10-13 09:42:16 -04:00
Clayton A Davis
8f3db4bc85 Update endpoint docstrings to match new Twitter docs 2017-10-11 21:07:01 -04:00
Clayton A Davis
f3088b0289 Update links to Twitter docs 2017-10-11 14:23:56 -04:00
Phil Gyford
d3f5361f4d Try to fix loading of JSON files in tests on Travis 2017-10-11 18:40:55 +01:00
Phil Gyford
5a008e7e77 Move all the raw tweets for tests into their own JSON files
Seems better to have the raw data as JSON, like it comes from the API,
then load it into python objects for each test.
2017-10-11 18:27:53 +01:00
Phil Gyford
5c55aa8844 Cut some un-needed data out of the test tweet objects 2017-10-10 12:41:00 +01:00
Phil Gyford
9ccdb48248 Add test for html_for_tweet() for retweets 2017-10-10 12:31:57 +01:00
Phil Gyford
9ade0946b5 Add test for html_for_tweet() for quoted tweets 2017-10-10 12:24:09 +01:00
Phil Gyford
13fd0a8684 Define encoding for tests config file 2017-10-10 11:57:03 +01:00
Mike Helmick
7be654136e Merge pull request #460 from jmdaweb/master
Added create_metadata endpoint
2017-10-09 16:26:01 -04:00
Jose Manuel Delicado
2cb2ed4a31 Twython/api.py: suggested changes in review have been made for pull request 460 2017-10-09 18:11:24 +02:00
Mike Helmick
41a2404b20 Merge pull request #459 from foxmask/patch-1
update the link to the doc of the twitter API
2017-10-09 12:00:47 -04:00