1 Using an API allows code to send requests and receive responses without mimicking human behavior.
“Instead, it sends a single request to YouTube: here’s the video ID, here’s the stuff to change, here’s my credentials to prove that I’m allowed to do that. Bundle that all up, send it over. And YouTube sends back a single answer: hopefully it’s a response code of 200, which means “OK””