The Internal API
The internal API is a set of static objects that abstract many common tasks within Statamic. These methods can (and should) be used to help with creating add-ons.
Explore _app/core/api/
for the classes and methods at your disposal. The code is the documentation!