At some point you’re going to have to deal with making or using APIs, here are some lessons to code by.