How to use API to generate a list of somene's followers


I am completely unaware of how API works and what is actually does. I have read a few things saying it can generate 5000 ID’s, but is there a method or guide out there to show how this is done? I am competent just never got into coding and scripts.