Day 3: A Public Api Application
Today started out as it has been this whole week, tense and unsure of what Andela has in store. I have never heard of an interview process that is as immensely challenging as this one. Getting harder as the days pass and challenging you in every aspect of your career.
The main challenge of the day was about in-cooperating a public api into a console application. A public api in full is a Application programming interface.
A good API makes it easier to develop a computer program by providing all the building blocks, which are then put together by the programmer. It enables one to use different features from other applications and in-cooperate them in the programmer’s application.
I personally chose to use the urban dictionary api. What my application does is, request for a word and then return the meaning of that word in respect to the urban youth. For example if I were to input the word “cool”, it would return “The best way to say something is neat-o, awesome, or swell.” Something the urban youth can properly understand.
For the framework that I used to build the console application, I settled on Click. Its easy to use and very well documented. Plus they are many YouTube videos out there that one can watch to see it practice. I for example, prefer watching something being done than just reading. Or better yet, you can read up on Click and then watch a few videos to just solidify what you have read. Which ever framework works for you, just give it a try.
I had a great time writing this application and also learnt a lot. I realized just how many free apis are available and their importance. They help programmers and other people that use them to rapidly reduce production time, add new features and avoid redoing work that someone out there has already done.
Stay tuned as I learn and grow in the Andela experience.