1. 1
  2. ...
  3. ...
  4. 2
Would love an API so I can add MCC stats to my discord bot
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.
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.
it s cool, make it case-sensitive
What do you mean by case-sensitive?
What do you mean by case-sensitive?
mean that if the user type TEAM SLAYER or team slayer it works fine as well
Ah! Sorry -- there's supposed to be a dropdown list which the docs pages should auto-populate. The gameVariant is actually an `enum`, meaning it's a list of options. This displays properly if you try to use the API from Autocode (https://autocode.com).

https://i.imgur.com/qTkTQc0.png

https://i.imgur.com/TTUDRIK.png

I'll try to make sure the docs pages get updated shortly to support this variable type. Thanks for the catch, it's actually a bug!
  1. 1
  2. ...
  3. ...
  4. 2