tallgrass/client/item
Functions
pub fn fetch_by_id(id: Int) -> Result(Item, Error)
Fetches a item by the item ID.
Example
let result = item.fetch_by_id(1)
pub fn fetch_by_name(name: String) -> Result(Item, Error)
Fetches a item by the item name.
Example
let result = item.fetch_by_name("master-ball")