A question about the Saidit API
submitted 4 years ago by Yhvr from (self.programming)
If I have a username and a password, how can I get a modhash and saidit_session? The auto-generated API isn't the best, thanks in advance.
[–]Yhvr[S] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - 4 years ago* (5 children)
Also, pinging u/magnora7 and u/d33r
EDIT: it's his/her username is not d33r, and i'm not sure what it is. oh well. :shrug:
[–][deleted] 6 insightful - 1 fun6 insightful - 0 fun7 insightful - 0 fun7 insightful - 1 fun - 4 years ago (3 children)
You'll have to follow the existing Reddit API documentation. We're 99% compatible. The keys may not be renamed either, try looking for reddit_session.
[–]Yhvr[S] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - 4 years ago (2 children)
Hey, thanks for replying. I made this post because I have been trying to do that for the past 2 days or so, to no avail. If there are any keywords I am missing in the searches, please tell me.
[–][deleted] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 4 years ago (1 child)
I think the simplest proof of concept is adding an app in preferences -> apps, then using python and Praw to pull something from our API.
I haven't done anything with the API manually, but RedReader is up and running so at least most of the API is working. https://praw.readthedocs.io/en/latest/getting_started/quick_start.html
So you're stuck at logging into the API? Using oauth/what Reddit type of app are you trying?
[–]Yhvr[S] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - 4 years ago* (0 children)
Yes, I am stuck at logging in to the API.
Using oauth/what Reddit type of app are you trying?
Not quite sure what you mean, but it's a node.js app, and I'm making the GET and POST requests with the npm request package, if that's what you want.
EDIT: I'll make a post on reddit about it.
use the following search parameters to narrow your results:
e.g. sub:pics site:imgur.com dog
sub:pics site:imgur.com dog
advanced search: by author, sub...
~5 users here now
Links:
[–]Yhvr[S] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - (5 children)
[–][deleted] 6 insightful - 1 fun6 insightful - 0 fun7 insightful - 0 fun7 insightful - 1 fun - (3 children)
[–]Yhvr[S] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - (2 children)
[–][deleted] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (1 child)
[–]Yhvr[S] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - (0 children)