First try at a go api