Skip to content
Javran Cheng edited this page Mar 18, 2016 · 5 revisions

Fill Your KanColle Badge Generator by Sending Data

KanColle Badge Generator accepts POST requests to set your admiral information, collections of ships, etc.

Your data can be sent to one of the following URLs depending on your preferred language:

with some key-value pairs as specified below.

All Supported Fields

All fields below are optional. Missing fields leave the corresponding information blank.

Terms:

  • Type: if a field has type <stringified>, you should use JSON.stringify or equivalent to encode your JSON object.
  • Ship master id: refers to ship ids found in data.api_mst_ship from kcsapi/api_start2.
Field Type Description
ttkName String Admiral name
ttkLvl Number Admiral level
ttkServer Number Server id, See here
fleet <stringified> Current fleet information ("Fleets" tab), See below.
ships <stringified> A list of all ship's master ids in your possession.
k2Flag String Set it to on fills "Kai Ni + Blueprint" tab, other value has no effect
colleFlag String Set it to on fills "Poster Collection" tab, other value has no effect

Field fleet

It should contain an array of 4 elements, each of which contains 6 ship objects. a ship object looks like: {lvl: <ship level>, id: <ship master id>}. If that fleet is not available, or there is no ship in that place, use null instead.

Example (before stringify):

[
  [
    {"lvl":128, "id":318}, {"lvl":116, "id":118}, null,
    null, null, null
  ],
  [
    {"lvl":51, "id":402}, {"lvl":12, "id":128}, {"lvl":17, "id":127},
    {"lvl":20, "id":126}, null, null
  ],
  [
    {"lvl":74, "id":218}, {"lvl":41, "id":204}, {"lvl":41, "id":203},
    {"lvl":42, "id":345}, {"lvl":41, "id":202}, {"lvl":41, "id":206}
  ],
  [
    {"lvl":96, "id":464}, {"lvl":42, "id":329}, {"lvl":42, "id":294},
    {"lvl":42, "id":355}, {"lvl":41, "id":327}, {"lvl":36, "id":359}
  ]
]

Field ships, k2Flag and colleFlag

  • "Kai Ni + Blueprint" tab will be filled when ships is set and k2Flag is set to on
  • "Poster Collection" tab will be filled when ships is set and colleFlag is set to on

In your ships field, put in all ship master ids that you have collected. Our generator will take care of all remodeling issues, to name a few:

  • if 如月改二 (id 435) is present, it counts as 如月 (id 2) in "Poster Collection" tab.
  • the presence of Bismarck drei sets both Bismarck zwei and Bismarck drei in "Kai Ni + Blueprint" tab

Example of field ships (before stringify):

[246,259,434,250,206,202,208...]