Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Condor323326y@xzvf currently I'm a bit tired from the previous ++ spree but I'll keep it in mind π
-
@xzvf I have a python script that saves me all the double tapping. Let me find it..
-
@condor I have no idea if my script is working.. are you getting a ++ spam from me?
-
TheOct039246y@ewpratten Could you give me leads on how to achieve a ++ bot? Did you use Wireshark or does the public API offer an option to upvote with a token for example?
-
Condor323326y@TheOct0 ++ bots are against the devRant policy. Guided ++ which I'm considering for my own client (tap anywhere on the screen and it upvotes next comment or something like that) could be a grey zone because it still relies on manual interaction. But botted ++ is a big red flag, and has been explicitly disapproved of, with the use of it even being subject to bans.
-
TheOct039246y@Condor @Alice Thanks for the stop sign, that is going to be swiftly burnt and put in the bad ideas bin :)
-
@TheOct0
The API has auth, I can't tell you about it.
All I can say is, take a look at the devrantsimple package on pypa (or pip) for python. To upvote a comment, take the upvote() function and replace "/rant" with "/comment" and pass in a comment id. -
@Condor ya. Mine works like that. I just have a "upvote next item on screen " button. I'm considering rewriting it in tasker tho. Easier to maintain.
-
TheOct039246y@ewpratten Thanks :)
@xzvf Thanks, but for once I'd like to use "my own" library (even though it will largely come from Ewpratten's) -
@TheOct0 I don't think rantscript has all of the auth API (dRS has everything except account deletion and the comment voting system (will add soon))
-
TheOct039246y@ewpratten I was trying to work on that, what's your process for building an API wrapper?
-
@TheOct0 my process is to just essentially make "macros" so, if I want to upvote, Then I make a function called upvote that takes in only the data it needs. Then it does all the rest of the work and the user only has to call upvote(id, authdata)
-
TheOct039246y@ewpratten I mean, since I couldn't find anything documented about comments, how would you make that a thing? Do you have a specific personal process to do so, or am I just too blind to find the good resources?
-
@TheOct0 if you are talking specifically about the devrant API, it's because dfox doesn't want the people who have figured out the auth API to explain it to other people.
Wireshark is your friend. Also, the php wrapper has some stuff you might want. -
TheOct039246y@ewpratten OK thanks a lot, I suspected about Wireshark being the way but since I don't have a computer at hand I couldn't test it.
Thanks for all the answers, I hope I didn't bother you too much
Related Rants
Almost an entire hour spent on upvote spree.. Now go get that white tiger :3
devrant
congrats ewpratten
20k