func ItemAttribute(id string) (result structs.ItemAttribute, err error) {
	err = do(fmt.Sprintf("item-attribute/%s", id), &result)
	return result, err
}
ItemAttribute returns a single item attribute (by name or ID).
package pokeapi
import (
	"fmt"
	"github.com/mtslzr/pokeapi-go/structs"
)
func Item(id string) (result structs.Item, err error) {
	err = do(fmt.Sprintf("item/%s", id), &result)
	return result, err
}