All big tech companies seem to have horrible APIs. Just authenticating seems to require an elaborate dance.