|
1 | 1 | import asyncio |
| 2 | +from devtools import debug |
2 | 3 | from nexon_openapi import NexonOpenAPI, NexonOpenAPIAsync |
3 | 4 |
|
4 | 5 | if __name__ == "__main__": |
|
26 | 27 | character_hexa_matrix_stat = client.maplestory.get_character_hexa_matrix_stat(ocid=ocid) |
27 | 28 | character_dojang = client.maplestory.get_character_dojang(ocid=ocid) |
28 | 29 |
|
29 | | - # 유니온 정보 조회 |
| 30 | + # # 유니온 정보 조회 |
30 | 31 | user_union = client.maplestory.get_user_union(ocid=ocid) |
31 | 32 | user_union_raider = client.maplestory.get_user_union_raider(ocid=ocid) |
| 33 | + user_union_artifact = client.maplestory.get_user_union_artifact(ocid=ocid) |
32 | 34 |
|
33 | | - # 길드 정보 조회 |
| 35 | + # # 길드 정보 조회 |
34 | 36 | guild_id = client.maplestory.get_guild_id(world_name="", guild_name="") |
35 | 37 | guild_basic = client.maplestory.get_guild_basic(guild_id=guild_id) |
36 | 38 |
|
37 | | - # 랭킹 정보 조회 |
| 39 | + # # 랭킹 정보 조회 |
38 | 40 | overall_ranking = client.maplestory.get_overall_ranking() |
39 | 41 | union_ranking = client.maplestory.get_union_ranking() |
40 | 42 | guild_ranking = client.maplestory.get_guild_ranking(ranking_type="0") |
41 | 43 | dojang_ranking = client.maplestory.get_dojang_ranking(difficulty="1") |
42 | 44 | the_seed_ranking = client.maplestory.get_the_seed_ranking() |
43 | 45 | achievement_ranking = client.maplestory.get_achievement_ranking() |
44 | 46 |
|
45 | | - # 확률 정보 조회 |
| 47 | + # # 확률 정보 조회 |
46 | 48 | startforce_history = client.maplestory.get_starforce_history(count=10) |
47 | 49 |
|
48 | | - # Async |
| 50 | + # # Async |
49 | 51 | async def async_main(): |
50 | 52 | client = NexonOpenAPIAsync() |
51 | 53 |
|
@@ -74,6 +76,7 @@ async def async_main(): |
74 | 76 | # 유니온 정보 조회 |
75 | 77 | user_union = await client.maplestory.get_user_union(ocid=ocid) |
76 | 78 | user_union_raider = await client.maplestory.get_user_union_raider(ocid=ocid) |
| 79 | + user_union_artifact = await client.maplestory.get_user_union_artifact(ocid=ocid) |
77 | 80 |
|
78 | 81 | # 길드 정보 조회 |
79 | 82 | guild_id = await client.maplestory.get_guild_id(world_name="", guild_name="") |
|
0 commit comments