I've updated the example for a better read experience.
Must Know API Structure for Web Developers (with example)      ...
Tags: javascript, webdev, api