HELP! Not able to understand how to use APIs

Hello Campers,

I have reached intermediate projects. Here i need to use the various APIs to progress forward. I have gone through various articles available over internet. But I am just not ‘getting’ it. I am stuck at basic things like:

  1. How to call an api? Is there any standard way of calling any API
  2. how to then parse the data?
  3. What is AJAX and when do I need it?

I partially understand it when I read someone else’s code, but its still not coming naturally to me. HELP.

Post some code that works, but you do not understand why it works. Put comments in the code with questions, so we have a better understanding of exactly what you know vs don’t know. Please remember to put 3 backticks on the line before and the line after all posted code, so that it retains the original formatting (i.e. indentations).

This video was helpful to me when I first came across APIs.

I hope it is helpful to you.