zulip/api/examples
Yago González 25dbe35747 api: Support file uploads to the API.
Now, the `Client.do_api_query()` method supports sending files to the
API.

This has allowed the implementation of a new method,
`Client.upload_file(file)`.  It simply uploads the file set in the
parameter, and returns the API's response (that includes the URI).

Despite the fact that `do_api_query()` supports multiple files as
parameters, `upload_file()` doesn't, because right now the API isn't
capable of managing more than a file in the same request.
2017-01-10 17:46:00 -08:00
..
create-user api: remove use of zulip.com domain in API bindings. 2016-12-15 09:35:37 -08:00
edit-message Change shebangs from python2.7 to python. 2016-05-29 05:03:08 -07:00
get-public-streams Change shebangs from python2.7 to python. 2016-05-29 05:03:08 -07:00
list-members Change shebangs from python2.7 to python. 2016-05-29 05:03:08 -07:00
list-subscriptions Change shebangs from python2.7 to python. 2016-05-29 05:03:08 -07:00
print-events Annotate API scripts. 2016-10-15 22:36:10 -07:00
print-messages Annotate API scripts. 2016-10-15 22:36:10 -07:00
recent-messages Simplify, document, and fix the API code. 2016-12-21 11:22:42 -08:00
send-message Change shebangs from python2.7 to python. 2016-05-29 05:03:08 -07:00
subscribe Change shebangs from python2.7 to python. 2016-05-29 05:03:08 -07:00
unsubscribe Change shebangs from python2.7 to python. 2016-05-29 05:03:08 -07:00
upload-file api: Support file uploads to the API. 2017-01-10 17:46:00 -08:00
zuliprc Rename ~/.humbugrc to ~/.zuliprc. 2013-08-08 10:22:31 -04:00