Metservice API implemented with Flask