fortnite

package
v0.0.0-...-3c37a66 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ItemShop

type ItemShop struct {
	Status int `json:"status"`
	Data   struct {
		Featured struct {
			Entries []ItemShopItem `json:"entries"`
		} `json:"featured"`
		Daily struct {
			Name    string         `json:"name"`
			Entries []ItemShopItem `json:"entries"`
		} `json:"daily"`
	} `json:"data"`
}

func GetItemshop

func GetItemshop() (data *ItemShop, err error)

type ItemShopItem

type ItemShopItem struct {
	FinalPrice int `json:"finalPrice"`
	Bundle     any `json:"bundle,omitempty"`
	Items      []struct {
		Type struct {
			Value string `json:"value"`
		} `json:"type"`
	} `json:"items"`
	NewDisplayAsset struct {
		MaterialInstances []struct {
			ID     string `json:"id"`
			Images struct {
				Background string `json:"Background"`
			} `json:"images"`
		} `json:"materialInstances"`
	} `json:"newDisplayAsset"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL