0

The existing unofficial devrant api’s fucking suck and the unofficial documentation is dog poop

Comments
  • 1
    @OmerFlame How do you even work with that
  • 3
    There are libraries built by good people, depends on what language you use.
  • 2
    @theabbie Working on a Typescript Project
  • 1
    @010001111 There is an npm package called "rantscript", it's good enough
  • 2
    @theabbie Works for Node only, need browser
  • 1
    @frogstair which package do you refer to?

    I’d like to have proper types, at least for the function calls.

    But all packages currently give me 301 status code and I don’t know if I’m missing required parameters or what.

    I’d like to get a list of rants for the first test, sorted by recent.
  • 1
    @frogstair i was looking for the pathnames of each endpoint.

    Found them now lol. Thanks for the work.
  • 0
    @010001111 You can see it's source code, it's JS, must not be difficult to implement in browser.
  • 0
    @010001111 I create my own documentation as I go sorta, it really sucks you’re right about that one
Add Comment