Any person who shall practice midwifery in this state after July 1, 1917, shall first obtain from the secretary a license so to do, and the said secretary is authorized to grant such license after examination of the applicant as hereinafter provided.