API or Application Programming interface is a set of rules or protocols that enables software applications to…