Items Group

July 28, 2025 ยท View on GitHub

The following are the resources available in the Items group of the PokeAPI.

Item

Get single Item resource by Name or ID:
// Main client example with ID
item, err := client.Items.GetItem("1")

// Individual resource group example with Name
item, err := itemsGroup.GetItem("master-ball")
Get list of Item resource:
// Main client example
itemList, err := client.Items.GetItemList(limit, offset)

// Individual resource group example
itemList, err := itemsGroup.GetItemList(limit, offset)
Get Item resource URL:
// Main client example
itemURL := client.Items.GetItemURL()

// Individual resource group example
itemURL := itemsGroup.GetItemURL()

Item Attribute

Get single Item Attribute resource by Name or ID:
// Main client example with ID
itemAttribute, err := client.Items.GetItemAttribute("1")

// Individual resource group example with Name
itemAttribute, err := itemsGroup.GetItemAttribute("countable")
Get list of Item Attribute resource:
// Main client example 
itemAttributeList, err := client.Items.GetItemAttributeList(limit, offset)

// Individual resource group example 
itemAttributeList, err := itemsGroup.GetItemAttributeList(limit, offset)
Get Item Attribute resource URL:
// Main client example
itemAttributeURL := client.Items.GetItemAttributeURL()

// Individual resource group example
itemAttributeURL := itemsGroup.GetItemAttributeURL()

Item Category

Get single Item Category resource by Name or ID:
// Main client example with ID
itemCategory, err := client.Items.GetItemCategory("1")

// Individual resource group example with Name
itemCategory, err := itemsGroup.GetItemCategory("stat-boosts")
Get list of Item Category resource:
// Main client example 
itemCategoryList, err := client.Items.GetItemCategoryList(limit, offset)

// Individual resource group example
itemCategoryList, err := itemsGroup.GetItemCategoryList(limit, offset)
Get Item Category resource URL:
// Main client example
itemCategoryURL := client.Items.GetItemCategoryURL()

// Individual resource group example
itemCategoryURL := itemsGroup.GetItemCategoryURL()

Item Fling Effect

Get single Item Fling Effect resource by Name or ID:
// Main client example with ID
itemFlingEffect, err := client.Items.GetItemFlingEffect("1")

// Individual resource group example with Name
itemFlingEffect, err := itemsGroup.GetItemFlingEffect("badly-poison")
Get list of Item Fling Effect resource:
// Main client example 
itemFlingEffectList, err := client.Items.GetItemFlingEffectList(limit, offset)

// Individual resource group example 
itemFlingEffectList, err := itemsGroup.GetItemFlingEffectList(limit, offset)
Get Item Fling Effect resource URL:
// Main client example
itemFlingEffectURL := client.Items.GetItemFlingEffectURL()

// Individual resource group example
itemFlingEffectURL := itemsGroup.GetItemFlingEffectURL()

Item Pocket

Get single Item Pocket resource by Name or ID:
// Main client example with ID
itemPocket, err := client.Items.GetItemPocket("1")

// Individual resource group example with Name
itemPocket, err := itemsGroup.GetItemPocket("misc")
Get list of Item Pocket resource:
// Main client example 
itemPocketList, err := client.Items.GetItemPocketList(limit, offset)

// Individual resource group 
itemPocketList, err := itemsGroup.GetItemPocketList(limit, offset)
Get Item Pocket resource URL:
// Main client example
itemPocketURL := client.Items.GetItemPocketURL()

// Individual resource group example
itemPocketURL := itemsGroup.GetItemPocketURL()