Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiError ¶
ApiError represents an error from the Humble Bundle API
func NewBundleNotFoundError ¶
func NewBundleNotFoundError() *ApiError
NewBundleNotFoundError creates a new bundle not found error
func NewDeserializeError ¶
NewDeserializeError creates a new deserialization error
func NewNetworkError ¶
NewNetworkError creates a new network error
type HumbleApi ¶
type HumbleApi struct {
// contains filtered or unexported fields
}
HumbleApi provides methods to interact with the Humble Bundle API
func (*HumbleApi) ListBundleKeys ¶
ListBundleKeys fetches all bundle keys for the authenticated user
func (*HumbleApi) ListBundles ¶
ListBundles fetches all bundles for the authenticated user
func (*HumbleApi) ReadBundle ¶
ReadBundle fetches details for a specific bundle
func (*HumbleApi) ReadBundleChoices ¶
func (api *HumbleApi) ReadBundleChoices(when string) (*models.HumbleChoice, error)
ReadBundleChoices fetches Humble Choice data for a given period when should be in "month-year" format (e.g., "january-2023") or "home" for current
Click to show internal directories.
Click to hide internal directories.