So today is the first day of school so I figured I would drop some knowledge on a popular subject in a way which is more fun than reading legal documentation (seriously API docs are a bore).
I get this one a fair bit…. We need an API! Okay what do you want it to do? What do you mean? Do you know what an API is? Not really. Not to worry, for a small word it has a big meaning.
What is an API
API stands for Application Programming Interface and it enables you to send and receive data from a 3rd party in a structured format.
What would I use this for?
You would essentially use this to keep users on your site while you get information from somewhere else. API’s are used all the time and you are likely interacting with them without knowing. Here are my top 5 examples of an API.
- Payment Gateways – Know when you put your credit card on someones website? That is most likely using an API to send the processing data securely to the merchant provider and then receive a response indicating if it was approved.
- Mailing Lists or CRM’s – Unlike a website, these are generally external applications that do not live with your website. So if people fill out a form on your site, we can move that data to where ever it needs to go, by way of an API.
- User Logins – Want users to log into your site via social media or some other platform. Chances are good they have an API.
- Stats – Tracking what your users are doing on your site.
- Chuck Norris API – Of all the api calls on Rapidapi.com #16 was the Chuck Norris API which at first I didn’t understand why, until I ran it. Basically sends you a random Chuck Norris joke on a schedule of your choice. Trying to figure out how I can incorporate this into my life haha.
So those are some bigger examples, but api’s can be used for smaller things too such as Fonts, Maps and more.
How much to API?
Hard to say. It is all over the map. Some API’s like MailChimp can be configured within minutes while others have custom integrations and extensive documentation on how to work with their system such as Zoom. With most payment gateways an API likely already exists, but for some of the smaller merchants this is often a paid plugin add-on. With some things you may be looking to accomplish there may be multiple API’s that do the same thing or a variety of method to communicate that are accompanied by a pile of other acronyms. Will you use the SOAP method? or will you use the REST method? If you don’t know what I am talking about, it is easier for me to just deal with this stuff for you.
Conclusion
So that is the jist of what an API is, but what do you want to do with it? The possibilities are endless, but your budget probably isn’t. I can help you guide you down this path of API enlightenment. Hope this information helped. Thanks for reading!