.. include:: strings.rst Media uploads ============= .. module:: media .. function:: upload(server_url, *args, **kwargs) Uploads a file to server. |post| Implements https://twitter-api.readthedocs.io/en/latest/media.html#post--api-media-upload.json :param str server_url: |server_url| :rtype: dict :return: a dict with detals of the uploaded file