Code for interfacing with APIs. Automatically calls upon the code necessary for machine learning in the substrate predictor.