title: What is the difference between Internet API and Internet protocols?
body: <p>I am going through a Computer Networking books that defines Internet API as the "set of rules" defined by Internet through which data is transferred from one end-user to another. Protocols are again defined in the very same manner, but it makes me a bit confused as what exactly the main difference between them is.</p>
  
  <p>The book is computer networking by James F. KUROSE and KEITH W.Rose.
  In one of the paragraph it says that <strong>"The internet API is a set of rules that a sending program must follow so that Internet can deliver the data to the destination".</strong></p>
  
  <p>Now for Google, Internet Protocols is <strong>"A set of rules governing the format of data sent over the Internet or other network."</strong></p>
  
  <p>Both of them can't be wrong. There is one point that I am missing.</p>
  
  <p>Please Help.</p>