Friday, 22 August 2025

What's an API? Let Me Show You with a NASA Project

 I have been working on projects based on Api's for the last few weeks, the understanding of it was simple, all you require is a key from its provider (e.g - Nasa, Chatgpt, Fastapi etc.), rest of it depends on your code written with Html and Css to represent it. 

I have made an website using the Api i received from Nasa, it's based on the pictures which were taken by Nasa on that specific day and the images description. The user or visitor can input a date in the given date selector with the specific month and year to see what image had been taken by Nasa on that exact date, Most of you might put your birthdays first as you might not have any specific dates in mind, you might ask how may i know this? Well almost everyone i asked to check this website out had used their birthdates to use it.

It's not very complex to understand the concept of it or to build it, took me 2 weeks to learn all from basics of Html,Css and javascript to create it. This website is to just test my skills and use it to learn about what and how apis work.

What's an Api you might ask, well its like a waiter, you ask it for something from the provided menu and it will get the order from the chef . Now who is this chef? its the api provider for this projects case it is Nasa from which i am using this api from. 

Well the process of learning seemed to be pretty easy but the implementing part had a lot of errors and mistakes, the code having multiple errors, sometimes not receiving data from Nasa to sometimes buttons not working as intended, the fix took me about 2 days, the process might seem hectic but when you get the results all your bad mood is converted into good and now you want to build more. 

Yeah that's my experience with Api's so far, happy to share it.
website - https://spacefind.netlify.app/

What's an API? Let Me Show You with a NASA Project

 I have been working on projects based on Api's for the last few weeks, the understanding of it was simple, all you require is a key fro...