You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds event.get_events function and event.EventsResponse object to get all event keys made available by the Event API and able to be used in calls to event.get_rundown.
Deprecates value field of Statictics type, and adds rotationValue field which should be used instead
Adds leaderboard and rotations fields to Statistic type
Adds LeaderboardEntry type
Adds Rotation enum
Adds queries for statistic (a statistic by name), nextRotation (when a rotation of a given type will next occur), and previousRotation (when a rotation of a given type last occurred)
This release adds support for the newly announced MCC Island API. In doing so, it moves the previously existing Event API functionality to the mcc_api.event subpackage. To update your code, you an replace all from mcc_api import xyz lines with from mcc_api.event import xyz, with the exception of:
mcc_api.__version__ (the current version of the package)
mcc_api.__user_agent (the user agent used for requests to both APIs)
New Island functionality is introduced in the mcc_api.island subpackage. The MCC Island API uses GraphQL, and also requires an API key which can be minted using Noxcrew Gateway and used with mcc_api.island.set_api_key().
Changelog
Package split into two subpackages: mcc_api.event and mcc_api.island for querying the Event API and Island API respectively
Same Event functionality as before (get_event(), get_hall_of_fame(), get_participants(), and get_rundown())
New Island functionality, allowing GraphQL queries to be run against and returned from the new MCC Island API (see the README or docs for more details and a code example)
Documentation changes
Change theme to Sphinx's "bizstyle" theme
Move Event docs to /event, and add Island docs to /island
Add Island code example to README
Add badges to docs index page and README to show the currently targeted versions of the Event API and Island API