Parameters:
Profile
- the name of the profile to get best bets forGroupName
(optional) - the name of the best bet group whose best bets you want to get. If not provided, will return best bets from all the profile's groupsPattern
(optional) - the URL pattern of best bets to get. Star can be used to glob, e.g. http://www.example.com/dir/*
. If not provided, best bets for any URL will be returned.
Returns:
BestBet
- one or more BestBet
s are returned, which consist of:
id
- the unique id for this best bet. Can be used to update or delete this specific best bet.GroupName
- the best bet group for this best betUrl
- the URL for this best betKeywords
- the keywords for this best betTitle
- the title for this best betDescription
- the description for this best betPriority
- the priority for this best bet
getBestBets
is used to retrieve best bets from a profile. GroupName
and Pattern
can be used to restrict what best bets are returned.