Would love an API so I can add MCC stats to my discord bot
Forums / Support / Halo API Support
MCC API
OP McVeigh
it s cool, make it case-sensitivecitizen kwho wrote:Hey all! So, as a long-time Halo-fan I've been itching to have programmatic access to Halo APIs for a while. 343i ran a beta for the Halo 5 API but it was a little too verbose -- not necessarily the best developer experience (they have a million other things to worry about!)
Not only have I played way too much Halo over the years, I also run a startup in San Francisco called Standard Library. We actually work with companies to put their APIs on our platform and make them easy to use. As a weekend project, I took a shot at the Halo: MCC API -- or at least what I could build from what's publicly available.
The result is here -- a Master Chief Collection API.
https://stdlib.com/@halo/lib/mcc/
There are a few endpoints:
- games.history shows your game history, to a max of 100
- games.latest shows your latest game info
- squad.activity shows recent activity (max 10 games) from a group of users, up to 8 -- it can show you if your friends are currently playing together
- stats shows a specific Service Record by Gamertag
I also built a really simple project that you can deploy in a click that sends SMS to your friends when you're online / playing:
https://github.com/keithwhor/halo-stat-notifier
Would love thoughts and feedback! I'm unsure as to the total load the API will be able to handle (may be bottlenecked on authentication), but you shouldn't have to enter any of your personal credentials or anything to use it.
mean that if the user type TEAM SLAYER or team slayer it works fine as wellcitizen kwho wrote:What do you mean by case-sensitive?
Thanks citizen, I have been using it and it works like a charm. Straightforward and easy to implement.citizen kwho wrote:Just as an update, the MCC API has moved to;
https://autocode.com/lib/halo/mcc/
The game history endpoints will be a little out-of-date... it seems however 343i is warehousing data for Waypoint is up to a ~week behind live data. A few months ago it was pretty close to live.
Quote:{ "__error": { "name": "Error", "message": "Version \"@1.0.11\" of service \"utils.sms\" not found", "type": "RuntimeError", "position": { "lineNumber": "107", "column": "23" } } }
This goes to show how often i check in on waypoint. @ citizen kwho,citizen kwho wrote:Hey all! So, as a long-time Halo-fan I've been itching to have programmatic access to Halo APIs for a while. 343i ran a beta for the Halo 5 API but it was a little too verbose -- not necessarily the best developer experience (they have a million other things to worry about!)
Not only have I played way too much Halo over the years, I also run a startup in San Francisco called Standard Library. We actually work with companies to put their APIs on our platform and make them easy to use. As a weekend project, I took a shot at the Halo: MCC API -- or at least what I could build from what's publicly available.
The result is here -- a Master Chief Collection API.
https://stdlib.com/@halo/lib/mcc/
There are a few endpoints:
- games.history shows your game history, to a max of 100
- games.latest shows your latest game info
- squad.activity shows recent activity (max 10 games) from a group of users, up to 8 -- it can show you if your friends are currently playing together
- stats shows a specific Service Record by Gamertag
I also built a really simple project that you can deploy in a click that sends SMS to your friends when you're online / playing:
https://github.com/keithwhor/halo-stat-notifier
Would love thoughts and feedback! I'm unsure as to the total load the API will be able to handle (may be bottlenecked on authentication), but you shouldn't have to enter any of your personal credentials or anything to use it.