Add the GetGods api method to library.