RESTful api for a hockey fantasy app