Skeleton code for data api