FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add upload_from_file() method by dahlia · Pull Request #60 · Imgur/imgurpython · GitHub

This repository was archived by the owner on Oct 4, 2023. It is now read-only.
/ imgurpython Public archive

Add upload_from_file() method - #60

Closed
dahlia wants to merge 1 commit into
Imgur:masterfrom
dahlia:upload-from-file
Closed

Add upload_from_file() method#60
dahlia wants to merge 1 commit into
Imgur:masterfrom
dahlia:upload-from-file

Conversation

dahlia commented Jan 29, 2016

Copy link
Copy Markdown

This patch adds upload_from_file() method which takes an arbitrary readable file object and uploads it to imgur. It’s a more generalized version of upload_from_path(). It’s useful when the image binary isn’t stored to file but in the memory e.g. through io.BytesIO object.

This patch adds `upload_from_file()` method which takes an arbitrary
readable file object and uploads it to imgur.  It's a more generalized
version of `upload_from_path()`.  It's useful when the image binary
isn't stored to file but in the memory e.g. through `io.BytesIO` object.

tdbs commented Mar 29, 2016

Copy link
Copy Markdown

+1

This would be very useful

nyov commented Apr 23, 2016

Copy link
Copy Markdown

Looks like this is duplicate of the merged #53

dahlia closed this Sep 20, 2016
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL