Added a GetTags function to api/tags.go