i wrote my first api. to deal with some dirty data.