This repository was archived by the owner on May 18, 2026. It is now read-only.
Repository navigation
๐ Nexon MapleStory OpenAPI Java Client v1.2.3
โจ ์ถ๊ฐ ์ฌํญ
์ ๋ฐ์ดํธ ์ ์ฉ
- hexastat์ sub_stat_level์ด main_stat_level๋ก ํ์๋๋ ์ค๋ฅ ์์
๐ ์์ํ๊ธฐ
Maven
<dependency>
<groupId>com.kmstimes</groupId>
<artifactId>nexon-kms-openapi</artifactId>
<version>1.2.3</version>
</dependency>Gradle
implementation 'com.kmstimes:nexon-kms-openapi:1.2.3'๐ ์ฌ์ฉ ์์
// API ํด๋ผ์ด์ธํธ ์ด๊ธฐํ
MapleStoryApi api = MapleStoryApi.create("your-api-key");
// ์บ๋ฆญํฐ OCID ์กฐํ
String ocid = api.Character().getId("์บ๋ฆญํฐ๋ช
").ocid();
// ์บ๋ฆญํฐ ๊ธฐ๋ณธ ์ ๋ณด ์กฐํ
LocalDate date = LocalDate.now();
BasicResponse basicInfo = api.Character().getCharacterBasic(ocid, date);
System.out.println("์บ๋ฆญํฐ ์ด๋ฆ: " + basicInfo.character_name());
System.out.println("๋ ๋ฒจ: " + basicInfo.character_level());
System.out.println("์ง์
: " + basicInfo.character_class());๐ ์ฃผ์์ฌํญ
- Open API๋ฅผ ์ด์ฉํ์ฌ ์ด์ฉ์ฝ๊ด์ ๋ช ์๋์ด ์๋ ์ฌํญ ๋ด์์ ์์ ๋กญ๊ฒ ์ ํ๋ฆฌ์ผ์ด์ ์ ์ ์ํ์ค ์ ์์ต๋๋ค๋ง, ์ ์ ์ ๋ฐ์ดํฐ๋ฅผ NEXON Open API์์ ์ ๊ณต ๋ฐ์์์ ์ ํ๋ฆฌ์ผ์ด์ ๋ด์ ๋ช ์ํด์ฃผ์ ์ผ ํฉ๋๋ค.
- ์๋น์ค ๋ฐ ์ ํ๋ฆฌ์ผ์ด์ ์ 'Data based on NEXON Open API'๋ผ๋ ๋ฌธ๊ตฌ๋ฅผ ๋ช ์ํด์ฃผ์๊ธธ ๋ฐ๋๋๋ค.
๐ ์ ์ฉํ ๋งํฌ
๐ ๋ผ์ด์ ์ค
์ด ํ๋ก์ ํธ๋ MIT ๋ผ์ด์ ์ค ํ์ ๋ฐฐํฌ๋ฉ๋๋ค.
์ด ๋ฆด๋ฆฌ์ฆ๋ Java 17 ์ด์์ ์ง์ํ๋ฉฐ, Retrofit2 ๊ธฐ๋ฐ์ผ๋ก ๊ตฌํ๋์์ต๋๋ค. ๋ชจ๋ ํผ๋๋ฐฑ๊ณผ ๊ธฐ์ฌ๋ฅผ ํ์ํฉ๋๋ค!