Words don't express how annoying this is.

API interaction isn't meant to be this stupidly complex.