Documentation
¶
Index ¶
Constants ¶
View Source
const ( GetPlayerDataUrl string = "https://www.futwiz.com/en/app/sold24/%d/console" GetPlayerHistoryUrl string = "https://www.futwiz.com/en/app/price_history_player24_multi?p=%d&h" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FwDataClient ¶
type FwDataClient interface { GetPlayerDetails(request PlayerRequest) (*PlayerResponse, error) GetPlayerHistory(request PlayerRequest) (*PlayerHistoryResponse, error) }
type FwDataClientImpl ¶
type FwDataClientImpl struct{}
func (*FwDataClientImpl) GetPlayerDetails ¶
func (c *FwDataClientImpl) GetPlayerDetails(request PlayerRequest) (*PlayerResponse, error)
func (*FwDataClientImpl) GetPlayerHistory ¶
func (c *FwDataClientImpl) GetPlayerHistory(request PlayerRequest) (*PlayerHistoryResponse, error)
type PlayerHistoryResponse ¶
type PlayerRequest ¶
type PlayerRequest struct {
Id int
}
Click to show internal directories.
Click to hide internal directories.