all 6 comments

[–]magnora7 6 insightful - 3 fun6 insightful - 2 fun7 insightful - 3 fun -  (0 children)

Very cool, nice work. I bet /u/d3rr would be happy to see this as well.

I'm happy to see you taking the time to help develop an api wrapper for saidit! Hopefully people can find uses for it!

[–]noice 5 insightful - 3 fun5 insightful - 2 fun6 insightful - 3 fun -  (1 child)

Awesome! Thanks!

[–]JasonCarswell 4 insightful - 2 fun4 insightful - 1 fun5 insightful - 2 fun -  (6 children)

What is an API Wrapper? Explain like I'm 5.

[–][deleted]  (4 children)

[deleted]

    [–][deleted]  (3 children)

    [deleted]

      [–][deleted]  (2 children)

      [deleted]

        [–]RuckFeddit 2 insightful - 2 fun2 insightful - 1 fun3 insightful - 2 fun -  (1 child)

        Indeed I did

        [–]RuckFeddit 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (0 children)

        The API functions as a middle man between you (a developer) and the application. APIs were designed around the concept that you don't want people having to play with or dig through code to do what they want, but instead leave them access protocols for everything they could need. The API functions like a gatekeeper, it gives you a list of individual things you can do. APIs are also designed to be minimalist, so if you want to call a car, and all the parts to a car exist in the system, you're expected to call these parts and build the car yourself.

        This is where the wrapper comes in as is what makes it easier for you to combine these rules with one call. If I wanted to build a car with no wrapper, I'd need to call all the individual parts with each call, save them somewhere and then start putting them together. With the wrapper, I can call all these parts within the same call, thus having them available to me to process all within the same instance.

        [–][deleted] 3 insightful - 1 fun3 insightful - 0 fun4 insightful - 1 fun -  (0 children)

        Good job! I might play with this some time. It seems really cool, just hope Saidit isn't invaded by bots (especially useless ones like what Reddit has). I've always loved how Saidit is mostly bot-free. With every other platform I see armies of robots posting spam constantly.