basic api to practice writing iOS network apps