draw-dev / DRAW

DRAW: The Dart Reddit API Wrapper
BSD 3-Clause "New" or "Revised" License
87 stars 24 forks source link

submit media #229

Closed ethicnology closed 1 year ago

ethicnology commented 1 year ago

Hey fellows,

I wonder if there is a way to do submit_image, submit_video with DRAW library and if so, do you have a link to an example ?

Thank you for your work

SupremeDeity commented 1 year ago

From what i can see from the subreddit model, no. It only provides a submit() method which you can use to submit text posts with inline media.

If you really want to, you can take a look at the Reddit API specs and how PRAW implements that specific methods and recreate the method in DRAW's subreddit model. It shouldn't be that hard.

If you do decide to implement it yourself. Send a PR here :)

ethicnology commented 1 year ago

Is there a list of the covered/uncovered endpoints ?

SupremeDeity commented 1 year ago

Is there a list of the covered/uncovered endpoints ?

The ones covered by DRAW? Not to my knowledge. The endpoints for reddit api can be found on the internet on their official api docs.

Also I'm not sure if DRAW is being actively developed any longer. The main guy is either busy or has abandoned this.

ethicnology commented 1 year ago

Thank you for your answers