Skip to content

Commit ed0466e

Browse files
committed
Update mcc_api.island schema to support angler trophies nad crown level evolution index
1 parent b1f418c commit ed0466e

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![🐍 PyPI](https://img.shields.io/pypi/v/mcc-api?label=🐍%20PyPI)](https://pypi.org/project/mcc-api/)
44
[![👑 Targeting Event API v1.6.0](https://img.shields.io/badge/👑_Targeting_Event_API-v1.6.0-red)](https://github.com/Noxcrew/mcchampionship-api/releases/tag/v1.6.0)
5-
[![🏝️ Targeting Island API v24.05.06](https://img.shields.io/badge/🏝️_Targeting_Island_API-v24.05.06-aqua)](https://github.com/Noxcrew/mccisland-api/releases/tag/v24.05.06)
5+
[![🏝️ Targeting Island API v24.12.04](https://img.shields.io/badge/🏝️_Targeting_Island_API-v24.12.04-aqua)](https://github.com/Noxcrew/mccisland-api/releases/tag/v24.12.04)
66

77
A helper library for the [MC Championship](https://mcchampionship.com) APIs
88
([Event](https://github.com/Noxcrew/mcchampionship-api), inspired by [derNiklaas's](https://github.com/derNiklaas)

docs/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ python_mcc_api
77
.. image:: https://img.shields.io/badge/👑_Targeting_Event_API-v1.6.0-red
88
:alt: 👑 Targeting Event API v1.6.0
99
:target: https://github.com/Noxcrew/mcchampionship-api/releases/tag/v1.6.0
10-
.. image:: https://img.shields.io/badge/🏝️_Targeting_Island_API-v24.05.06-aqua
11-
:alt: 🏝️ Targeting Island API v24.05.06
12-
:target: https://github.com/Noxcrew/mccisland-api/releases/tag/v24.05.06
10+
.. image:: https://img.shields.io/badge/🏝️_Targeting_Island_API-v24.12.04-aqua
11+
:alt: 🏝️ Targeting Island API v24.12.04
12+
:target: https://github.com/Noxcrew/mccisland-api/releases/tag/v24.12.04
1313

1414
A helper library for the `MC Championship <https://mcchampionship.com>`_ APIs
1515
(`Event <https://github.com/Noxcrew/mcchampionship-api>`_, inspired by `derNiklaas's <https://github.com/derNiklaas>`_

mcc_api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"__version__"
55
]
66

7-
__version__ = "1.1.7"
7+
__version__ = "1.1.8"
88
__user_agent: t.Final[str] = f"python_mcc_api/{__version__} (https://github.com/JamesMCo/python_mcc_api)"
99

1010
# update version of package

mcc_api/island/enums.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@
130130
name="TrophyCategory",
131131
description="The categories for trophies.",
132132
values={
133+
"ANGLER": GraphQLEnumValue(
134+
value="ANGLER",
135+
description="Angler trophies."
136+
),
133137
"SKILL": GraphQLEnumValue(
134138
value="SKILL",
135139
description="Skill trophies."

mcc_api/island/types.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
name="CrownLevel",
4242
description="A Crown Level and associated trophy data.",
4343
fields=lambda: {
44+
"evolution": GraphQLField(
45+
GraphQLNonNull(GraphQLInt),
46+
description="The zero-indexed evolution of the crown."
47+
),
4448
"level": GraphQLField(
4549
GraphQLNonNull(GraphQLInt),
4650
description="The overall Crown Level."

0 commit comments

Comments
 (0)