Have you ever struggled to get ideas for your side projects? Are you looking to make something other than the same old todo apps? If yes, then you are in the right place, my friend. Welcome to the world of APIs where I will help you to get awesome ideas for your next side project.
*Do you know every time you build a to-do list app, a puppy dies?
*No! 😅 I am just kidding. There is nothing wrong with todo apps. It's just that todo apps are not the only thing you can create. Let's dive in to know what I mean.
But before that, let's go to flashback for a while.
So I just learned HTML, CSS, and some basics of JavaScript. I am enjoying playing with the DOM. And I created a todo list app. Then I built an expense app, then a calculator, and soon I was left with no ideas at all. And I was wondering what should I create now.
And that's the time when I got to know about APIs. So what is an API?
Here is what Wikipedia say about API
An application programming interface (API) is a computing interface that defines interactions between multiple software intermediaries. It defines the kinds of calls or requests that can be made, how to make them, the data formats that should be used, the conventions to follow, etc.
🤯 Doesn't make sense? Let me explain to you.
In simple terms, an API is a messenger that takes requests and tells the system what you want to do and returns the response back to you.
Imagine you are in a restaurant. You have the menu on your table and there is food cooking in the restaurant's kitchen. How would you get it? You will call the waiter right. The waiter will ask for your order, get your order and bring it on your table. So the waiter here is the API.
Using APIs you can integrate data from other apps into your projects and apps.
For Ex. You can use weather API and show weather data in your app. Did you see that login with google or login with Facebook buttons on different apps? That is an API.
How cool is that? So I learned about APIs and how they work. And it opened the doors of unlimited ideas to me. According to some research around 40 new APIs are being added per week. Now think about how awesome things you can build with it.
The first thing I built was ⚡ Skymate, a weather app that shows real-time weather of any location. You can see it on github here.
I started looking for APIs that I can use in my projects. Like APIs for food recipes, APIs for the latest news, and so on. And I found this great repository of Public APIs
It was like the ocean of APIs. But there was a problem. This repository was so big and full of APIs. And it was difficult to find in the whole readme file. But surprisingly it had its own API too. So to make my life a little easy and better I started making an app for this. I called it Apihouse.
It has a collection of all the public APIs and you can find them based on their categories in just one click.
You can see it live here. Also here is its GitHub repository.
I shared this on Twitter and Linkedin and I got a really good response from fellow developers.
With the help of a few feedbacks, I tried making it better and better. Most of the people found it very helpful and useful. I felt proud when someone bookmarked it and said I am using this for my next project.
🏷 Lesson learned :
- Problems lead to great products. Always try to think about your problems first and how you can make your life easier with a product out of it.
- Build whatever you want to build for yourself. Someone might find it helpful. And even if not, You will.
I recently saw this tweet and I couldn't stop myself from sharing it. It sums up everything.
Whenever you find that a product could have made ur life easier if it existed or was cheaper, add it to a list. Pick them as side project FOR YOURSELF. Not for the stars. Not for others.
Stars, Contributors etc. is bonus. It's worth it even without them as it was made for you.21:05 PM - 21 Jun 2020
Here are a few resources that might help you.
- Introduction to web APIs
- 10: Working with data - p5.js Tutorial
- Working with Data and APIs in JavaScript
- APIs for Beginners - How to use an API
Conclusion
APIs are used everywhere. And you can use them in your side projects the way you want. I hope now you won't struggle to look for ideas.
I keep writing about the things I learned and applied. So you can connect with me on Twitter, Github or Linkedin.
⚡ Happy learning!
Top comments (7)
Excellent post!
Thank you!
Great Explanation!
Thanks.
cool mate :). A question. Where did you find those illustrations?
Excelent and helpful post and, by the way, great work you have done in both projects you mentioned.
Thank you so much. I am glad you found it helpful.