1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
| // User의 모든 Planets 정보 // sample Data : {"misc":{"total":5077},"planets":[{"id":"P-ZA01QNQO29C","name":"Alpha","posx":-3,"posy":-182,"starter":1}]} `https://nextcolony.io/api/loadplanets?user=${account}`
// 하나의 Planet 정보 // Sample Data : {"img":"co_atm_1.png","level_base":3,"level_coal":12,"level_coaldepot":12,"level_copper":12,"level_copperdepot":12,"level_ore":12,"level_oredepot":12,"level_research":3,"level_ship":14,"level_uranium":15,"level_uraniumdepot":12,"planet_bonus":0.0,"planet_corx":-3,"planet_cory":-182,"planet_crts":1555928508,"planet_id":"P-ZA01QNQO29C","planet_name":"Alpha","planet_rarity":"common","planet_type":"earth","shieldcharge_busy":0,"shieldcharged":0,"shieldprotection_busy":0,"startplanet":1,"total_type":4016,"user":"happyberrysboy"} `https://nextcolony.io/api/loadplanet?id=${planetId}`
// User의 Skills 정보 // Sample Data : [{"busy":1558984189,"coal":1344,"copper":288,"current":14,"name":"shipyard","ore":576,"time":48000,"uranium":156},{"busy":1557335921,"coal":499,"copper":94,"current":12,"name":"oredepot","ore":150,"time":31028,"uranium":52},...] `https://nextcolony.io/api/loadskills?user=${account}`
// Planet의 자원량 정보 // Sample Data : {"coal":323.068,"coaldepot":2880.0,"coalrate":960.0,"copper":470.768,"copperdepot":720.0,"copperrate":240.0,"lastUpdate":1562124006,"ore":221.532,"oredepot":1440.0,"orerate":480.0,"uranium":16.3035,"uraniumdepot":360.0,"uraniumrate":153.0} `https://nextcolony.io/api/loadqyt?id=${planetId}`
// Planet의 빌딩 정보 // Sample Data: [{base:0, busy:1559091080, coal:1344, copper:288, cur_rate:null, current:14, misc:null, name:"shipyard", next_rate:null, ore:576, research:0, skill:14, time:46560, uranium:156}, ....] `https://nextcolony.io/api/loadbuildings?id=${planetId}`
// Planet의 Shipyard 정보 // Sample Data : [{"activated":false,"armor":20,"bullet":0,"busy_until":null,"capacity":160,"class":"Battlecruiser","consumption":0.0038,"cost":{"coal":576,"copper":144,"ore":288,"time":101323.48,"uranium":72},"cur_level":14,"cur_level_skill":14,"laser":0,"longname":"Battlecruiser Tiger","min_level":18,"rocket":8,"shield":36,"skill":null,"speed":2.0,"structure":40,"type":"battlecruiser","variant":0,"variant_name":"rocket"},...] `https://nextcolony.io/api/shipyard?id=${planetId}`
// Planet의 생산력 정보 // Sample Data : coal:{booster:null, depot:2880, level:12, production:960, safe:0}, copper.... `https://nextcolony.io/api/loadproduction?id=${planetId}&user=${account}`
|