Unfortunately, none of what you're describing is available via the API. The best you could do is to pull down the actual emblem image and then do some analysis on the image.
Made your first hot drop into HaloWaypoint.com
Halo 5: Guardians MP Beta participant.
View your Service Record on the web.
Become a member of an active Spartan Company.