Skip to content

Releases: JamesMCo/python_mcc_api

v1.1.7

20 Aug 13:04
v1.1.7
7425123
Compare
Choose a tag to compare
  • 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

19 Aug 20:06
v1.1.6
7caaa79
Compare
Choose a tag to compare
  • Fix event module not including get_participant in __all__

V1.1.5

19 Aug 19:24
v1.1.5
521e913
Compare
Choose a tag to compare
  • 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

03 Jul 16:37
v1.1.4
1b0bd18
Compare
Choose a tag to compare
  • 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

25 May 18:00
v1.1.3
31df71c
Compare
Choose a tag to compare
  • Update Event API to target v1.3.3
    • Adds icon field to Creator objects returned by calls to event.get_participants

v1.1.2

10 May 19:59
v1.1.2
81e6d59
Compare
Choose a tag to compare
  • 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

02 May 17:13
v1.1.1
61fa92b
Compare
Choose a tag to compare
  • Update Island API schema to target v24.05.02
    • Adds ProgressionData type
    • Adds nextEvolutionLevel and nextLevelProgress fields to CrownLevel type

v1.1.0

17 Apr 16:23
v1.1.0
fff8e36
Compare
Choose a tag to compare

⚠️ 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

23 Oct 20:51
v1.0.7
6001b6e
Compare
Choose a tag to compare
  • Fix RundownResponse raising exception if non-game present in history (e.g. count override, such as for MCC TR)

v1.0.6

06 Aug 00:40
v1.0.6
d8981c0
Compare
Choose a tag to compare
  • Fix invalid events, teams, and games not raising exceptions when calling get_rundown, get_participants, and get_hall_of_fame respectively