Creates a globally accessible api object using OAuth's credentials