# Get a student's skills

Section: Game data

```
GET https://ba.joexyz.online/api/v1/students/hoshino/skills?locale=en
```

Gets a student's skills with per-level descriptions, plus the buffs and
debuffs (`effects`) that the descriptions refer to by id.

Descriptions are templates. For a skill level, `levelTemplates[level - 1]`
picks the template and `params[level - 1]` holds its values. The markup:

- `{p:N}`: parameter N, from `params[level - 1][N]`.
- `{e:EFFECT}…{/e}`: an effect; look it up by id in `effects`.
- `{s:STAT}…{/s}`: a stat.
- `{d:EFFECT:N}`: an effect's `suffix`, with parameter N.
- `{{`: a literal `{`.

**Parameters**

- `id` (path): The student's ID, internal numeric ID or DevName.
- `locale`: `en` (default) or `ja`. Missing texts fall back to the other language.

## Authentication

None

## Path parameters

| Name | Value |
| --- | --- |
| `id` | `hoshino` |

## Query parameters

| Name | Value |
| --- | --- |
| `locale` | `en` |

## Example responses

### 200 OK

```json
{
  "data": {
    "skills": [
      {
        "id": "hoshino:HoshinoEx01",
        "type": "EX",
        "source": "Default",
        "sortOrder": 0,
        "formIndices": [
          0
        ],
        "requiredWeaponGrade": 0,
        "requiredGearTier": 0,
        "upgradeOfId": null,
        "parentId": null,
        "iconUrl": "https://ba.cdn.nimblebun.works/v2/images/skill-icons/COMMON_SKILLICON_FAN.png",
        "maxLevel": 5,
        "costs": [
          4,
          4,
          4,
          4,
          4
        ],
        "name": "Tactical Suppression",
        "templates": [
          "Deals {p:0} of {s:AttackPower}ATK{/s} as damage to enemies in a fan-shaped area.",
          "Deals {p:0} of {s:AttackPower}ATK{/s} as damage to enemies in a fan-shaped area.\nInflicts {e:CrowdControl_StatusAdd_Stunned}Stun{/e} (for {p:1})."
        ],
        "levelTemplates": [
          0,
          0,
          1,
          1,
          1
        ],
        "params": [
          [
            "435%"
          ],
          [
            "501%"
          ],
          [
            "566%",
            "1 sec"
          ],
          [
            "632%",
            "1 sec"
          ],
          [
            "697%",
            "1.4 sec"
          ]
        ],
        "useCondition": null,
        "isFallback": false,
        "effectIds": [
          "CrowdControl_StatusAdd_Stunned"
        ]
      }
    ],
    "effects": {
      "CrowdControl_StatusAdd_Stunned": {
        "id": "CrowdControl_StatusAdd_Stunned",
        "category": "CrowdControl",
        "iconUrl": "https://ba.cdn.nimblebun.works/v2/images/effect-icons/CC_Stunned.png",
        "text": {
          "name": "Stun",
          "description": null,
          "suffix": null
        },
        "fallbackText": null
      }
    }
  }
}
```

## Examples

### cURL

```bash
curl 'https://ba.joexyz.online/api/v1/students/hoshino/skills?locale=en'
```

### JavaScript

```javascript
const response = await fetch("https://ba.joexyz.online/api/v1/students/hoshino/skills?locale=en");

const data = await response.json();
console.log(data);
```

### Python

```python
import requests

url = "https://ba.joexyz.online/api/v1/students/hoshino/skills?locale=en"

response = requests.get(url)
print(response.json())
```

### Go

```go
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	req, err := http.NewRequest("GET", "https://ba.joexyz.online/api/v1/students/hoshino/skills?locale=en", nil)
	if err != nil {
		panic(err)
	}

	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()

	data, _ := io.ReadAll(res.Body)
	fmt.Println(string(data))
}
```
