# CDragon

* Type: Service
* Models: `lol`, `tft`
* Description: Provides data from CommunityDragon Raw.

The CDragon has data that the game client uses. The data structure in CDragon might change at any time without warning, the Pyot Core objects for this might break aswell. Submit an issue if this happens and it will be fixed asap.

## *class* `CDragon`

Backend: `pyot.stores.cdragon.CDragon`

Definitions:

* `__init__`
  * `error_handler`: `Dict[int, Tuple] = None`
  * `log_level`: `int = 0`

## Endpoints

* `lol`
  * `cdragon_champion_by_id`: `/{version}/plugins/rcp-be-lol-game-data/global/{locale}/v1/champions/{id}.json`
  * `cdragon_champion_summary`: `/{version}/plugins/rcp-be-lol-game-data/global/{locale}/v1/champion-summary.json`
  * `cdragon_item_full`: `/{version}/plugins/rcp-be-lol-game-data/global/{locale}/v1/items.json`
  * `cdragon_rune_full`: `/{version}/plugins/rcp-be-lol-game-data/global/{locale}/v1/perks.json`
  * `cdragon_spells_full`: `/{version}/plugins/rcp-be-lol-game-data/global/{locale}/v1/summoner-spells.json`
  * `cdragon_profile_icon_full`: `/{version}/plugins/rcp-be-lol-game-data/global/{locale}/v1/profile-icons.json`
* `tft`
  * `cdragon_tft_full`: `/{version}/cdragon/tft/{locale}.json`
  * `cdragon_profile_icon_full`: `/{version}/plugins/rcp-be-lol-game-data/global/{locale}/v1/profile-icons.json`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pyot.iann838.com/stores/cdragon.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
