If it is possible to upload posts with multiple photos ? #37
-
I tried to create a list of photo's path, tuple of photos. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
although it's not possible on the current version, i'll add the implementation very soon! btw, don't forget to star this repository so that other developers can know about ensta as well. thank you for the suggestion! |
Beta Was this translation helpful? Give feedback.
-
hey @daniilberkut i've added the feature to post multiple photos in one single post. here's the code: from ensta import Host
host = Host(username, password)
upload1 = host.get_upload_id("1.jpeg")
upload2 = host.get_upload_id("2.jpeg")
upload3 = host.get_upload_id("3.jpeg")
host.upload_photos([upload1, upload2, upload3], caption="Summer vacation!") are you satisfied with the implementation? |
Beta Was this translation helpful? Give feedback.
hey @daniilberkut
i've added the feature to post multiple photos in one single post. here's the code:
are you satisfied with the implementation?