Add media/upload endpoint.
authorFlorent Espanet <florent.esp@gmail.com>
Thu, 15 Jan 2015 10:49:41 +0000 (11:49 +0100)
committerFlorent Espanet <florent.esp@gmail.com>
Thu, 15 Jan 2015 10:49:41 +0000 (11:49 +0100)
commit460acae6287ad8e566a053db98089fa273bfb86d
treeeca1d50389236388b60b4a9ecaa0221aaaaa9be6
parenta192de35d56f758de799ee4460a19ea085e0e39c
Add media/upload endpoint.

The media/upload endpoint is located on a different server :
upload.twitter.com.

It returns a unique result model called `Media` containing the
`media_id` and the image infos.

See also :

* [doc](https://dev.twitter.com/rest/reference/post/media/upload)
tweepy/api.py
tweepy/binder.py
tweepy/models.py