Skip to content

Commit 25f5bab

Browse files
committed
Update mcc_api.island to deprecate Silver and Material Dust currencies
1 parent 29ad232 commit 25f5bab

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
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 v25.07.09](https://img.shields.io/badge/🏝️_Targeting_Island_API-v25.07.09-aqua)](https://github.com/Noxcrew/mccisland-api/releases/tag/v25.07.09)
5+
[![🏝️ Targeting Island API v25.07.17](https://img.shields.io/badge/🏝️_Targeting_Island_API-v25.07.17-aqua)](https://github.com/Noxcrew/mccisland-api/releases/tag/v25.07.17)
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-v25.07.09-aqua
11-
:alt: 🏝️ Targeting Island API v25.07.09
12-
:target: https://github.com/Noxcrew/mccisland-api/releases/tag/v25.07.09
10+
.. image:: https://img.shields.io/badge/🏝️_Targeting_Island_API-v25.07.17-aqua
11+
:alt: 🏝️ Targeting Island API v25.07.17
12+
:target: https://github.com/Noxcrew/mccisland-api/releases/tag/v25.07.17
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,5 +4,5 @@
44
"__version__"
55
]
66

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

mcc_api/island/types.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,15 +197,17 @@
197197
),
198198
"materialDust": GraphQLField(
199199
GraphQLNonNull(GraphQLInt),
200-
description="The number of material dust the player currently has."
200+
description="The number of material dust the player currently has.",
201+
deprecation_reason="Material Dust no longer exists. Will return 0 until removal."
201202
),
202203
"royalReputation": GraphQLField(
203204
GraphQLNonNull(GraphQLInt),
204205
description="The number of Royal Reputation the player currently has."
205206
),
206207
"silver": GraphQLField(
207208
GraphQLNonNull(GraphQLInt),
208-
description="The number of silver the player currently has."
209+
description="The number of silver the player currently has.",
210+
deprecation_reason="Silver no longer exists. Will return 0 until removal."
209211
)
210212
}
211213
)

0 commit comments

Comments
 (0)