futbin_search: futbin_search searchs players in futbin.

Description Usage Arguments Value Examples

View source: R/futbin_search.R

Description

futbin_search searchs players in futbin.

Usage

1
futbin_search(name = "", platform = "ps4", version = NULL, verbose = F)

Arguments

name

Optional. Vector with the names of the players. If not specified it will report the 30 highest-rated players of the game.

platform

Platform to get the prices from. Default is 'ps4'. Other options are 'xone' (XBox One) and 'pc'.

version

Optional. Version of the cards. Some options are "Rare", "Non-Rare", "IF" (In-Form), "SIF" (Second In-Form), ...

verbose

Optional. To show additional verbose about webpage used and number of players found.

Value

A dataframe with all the players found searching for name and version.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
## Not run: 
# Search for a player
futbin_search(name = "Lionel Messi")

# Search for a player and get the PC price
futbin_search(name = "Lionel Messi", platform = "pc")

# Search for a player and get the XBox One price
futbin_search(name = "Lionel Messi", platform = "xone")

# Search for more than one player
futbin_search(name = c("Lionel Messi", "Cristiano Ronaldo"))

# Search for a specific version of a player
futbin_search(name = "Lewandowski", version = "Rare")
futbin_search(name = "Luis Suarez", version = "OTW")

# Search for an In-Form card of a player, showing verbose
futbin_search(name = "Grealish", version = "IF", verbose = TRUE)

## End(Not run)

danielredondo/rfutbin documentation built on Dec. 19, 2021, 8:07 p.m.