I agree. The author laughably claims APIs are how applications take to each other and implies they are necessarily remote or on the Internet. Web APIs are one kind of API, but so are various C Library interfaces.
There's no need for the animations at all. Besides not letting the reader work through the problem at her own pace, the animations hide the previous steps.