Added the actual API connection helper methods

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>