Using yum API to teach myself python.