File tree Expand file tree Collapse file tree 6 files changed +281
-6
lines changed
Expand file tree Collapse file tree 6 files changed +281
-6
lines changed Original file line number Diff line number Diff line change 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.09.23 ] ( https://img.shields.io/badge/🏝️_Targeting_Island_API-v25.09.23 -aqua )] ( https://github.com/Noxcrew/mccisland-api/releases/tag/v25.09.23 )
5+ [ ![ 🏝️ Targeting Island API v25.10.08 ] ( https://img.shields.io/badge/🏝️_Targeting_Island_API-v25.10.08 -aqua )] ( https://github.com/Noxcrew/mccisland-api/releases/tag/v25.10.08 )
66
77A 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 )
Original file line number Diff line number Diff 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.09.23 -aqua
11- :alt: 🏝️ Targeting Island API v25.09.23
12- :target: https://github.com/Noxcrew/mccisland-api/releases/tag/v25.09.23
10+ .. image :: https://img.shields.io/badge/🏝️_Targeting_Island_API-v25.10.08 -aqua
11+ :alt: 🏝️ Targeting Island API v25.10.08
12+ :target: https://github.com/Noxcrew/mccisland-api/releases/tag/v25.10.08
1313
1414A 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 >`_
Original file line number Diff line number Diff line change 44 "__version__"
55]
66
7- __version__ = "1.4.1 "
7+ __version__ = "1.4.2 "
88__user_agent : t .Final [str ] = f"python_mcc_api/{ __version__ } (https://github.com/JamesMCo/python_mcc_api)"
Original file line number Diff line number Diff line change 1919 directives = [* specified_directives , one_of_directive , spectaql_directive ],
2020 types = [
2121 auction_listing_type ,
22+ badge_type ,
23+ badge_progress_type ,
24+ badge_stage_type ,
25+ badge_stage_progress_type ,
2226 collections_type ,
2327 cosmetic_type ,
2428 cosmetic_ownership_state_type ,
2529 cosmetic_token_type ,
2630 crown_level_type ,
2731 currency_type ,
32+ faction_type ,
2833 fish_type ,
2934 fish_caught_weight_type ,
3035 fish_record_type ,
36+ general_goal_type ,
37+ global_leaderboard_entry_type ,
38+ goal_type ,
3139 island_exchange_listing_type ,
3240 leaderboard_entry_type ,
3341 level_data_type ,
3644 player_type ,
3745 progression_data_type ,
3846 query_type ,
47+ quest_type ,
3948 royal_reputation_type ,
4049 server_type ,
4150 simple_asset_type ,
4251 social_type ,
4352 statistic_type ,
53+ statistic_progress_type ,
4454 statistic_value_result_type ,
4555 statistics_type ,
4656 status_type ,
4757 spectaqloption_type ,
4858 trophy_data_type ,
4959
60+ boost_type_enum ,
61+ cosmetic_category_enum ,
62+ cosmetic_type ,
63+ fish_catch_time_enum ,
64+ fish_weight_enum ,
5065 game_enum ,
66+ quest_type_enum ,
5167 rank_enum ,
68+ rarity_enum ,
5269 rotation_enum ,
5370 server_category_enum ,
5471 trophy_category_enum ,
Original file line number Diff line number Diff line change 22
33
44__all__ = [
5+ "boost_type_enum" ,
56 "cosmetic_category_enum" ,
67 "cosmetic_type_enum" ,
78 "fish_catch_time_enum" ,
89 "fish_weight_enum" ,
910 "game_enum" ,
11+ "quest_type_enum" ,
1012 "rank_enum" ,
1113 "rarity_enum" ,
1214 "rotation_enum" ,
1315 "server_category_enum" ,
1416 "trophy_category_enum"
1517]
1618
19+ boost_type_enum = GraphQLEnumType (
20+ name = "BoostType" ,
21+ description = "A boost type for a quest." ,
22+ values = {
23+ "ARCANE_BOOSTED" : GraphQLEnumValue (
24+ value = "ARCANE_BOOSTED" ,
25+ description = "The quest is arcane boosted."
26+ ),
27+ "BOOSTED" : GraphQLEnumValue (
28+ value = "BOOSTED" ,
29+ description = "The quest is boosted."
30+ ),
31+ "NONE" : GraphQLEnumValue (
32+ value = "NONE" ,
33+ description = "The quest is not boosted."
34+ )
35+ }
36+ )
37+
1738cosmetic_category_enum = GraphQLEnumType (
1839 name = "CosmeticCategory" ,
1940 description = "Different categories of cosmetics." ,
166187 }
167188)
168189
190+ quest_type_enum = GraphQLEnumType (
191+ name = "QuestType" ,
192+ description = "A type of quest." ,
193+ values = {
194+ "DAILY" : GraphQLEnumValue (
195+ value = "DAILY" ,
196+ description = "A daily quest."
197+ ),
198+ "SCROLL" : GraphQLEnumValue (
199+ value = "SCROLL" ,
200+ description = "A quest scroll."
201+ ),
202+ "WEEKLY" : GraphQLEnumValue (
203+ value = "WEEKLY" ,
204+ description = "A weekly quest."
205+ )
206+ }
207+ )
208+
169209rank_enum = GraphQLEnumType (
170210 name = "Rank" ,
171211 description = "A rank." ,
You can’t perform that action at this time.
0 commit comments