tallgrass/client/item_category

Functions

pub fn fetch_by_id(id: Int) -> Result(ItemCategory, Error)

Fetches an item_category by the item_category ID.

Example

let result = item_category.fetch_by_id(1)
pub fn fetch_by_name(name: String) -> Result(ItemCategory, Error)

Fetches an item_category by the item_category name.

Example

let result = item_category.fetch_by_name("stat-boosts")
Search Document