Releases: JamesMCo/python_mcc_api
Releases · JamesMCo/python_mcc_api
v1.1.7
- Update Event API to target v1.6.0
- Adds
platform
parameter to event.Creator
object returned by participant-related endpoints
- Increases ratelimit from 40 requests per minute to 200 requests per minute
v1.1.6
- Fix event module not including
get_participant
in __all__
V1.1.5
- Update Event API to target v1.5.0
- Adds
event.get_participant
function and event.ParticipantResponse
object to support calling /vq/participant/` endpoint
- Adds
team
parameter to event.Creator
object returned by participant-related endpoints
v1.1.4
- Update Event API to target v1.4.0
- 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
.
v1.1.3
- Update Event API to target v1.3.3
- Adds
icon
field to Creator
objects returned by calls to event.get_participants
v1.1.2
- Update Island API schema to target v24.05.02
- Deprecates
value
field of Statictics type, and adds rotationValue
field which should be used intstead
- 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)
v1.1.1
- Update Island API schema to target v24.05.02
- Adds
ProgressionData
type
- Adds
nextEvolutionLevel
and nextLevelProgress
fields to CrownLevel type
v1.1.0
⚠️ Breaking Changes ⚠️
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
v1.0.7
- Fix
RundownResponse
raising exception if non-game present in history (e.g. count override, such as for MCC TR)
v1.0.6
- Fix invalid events, teams, and games not raising exceptions when calling
get_rundown
, get_participants
, and get_hall_of_fame
respectively