Learn R Programming

fortniteR (version 0.1.0)

get_islands: Get list of Fortnite Creative islands

Description

Get list of Fortnite Creative islands

Usage

get_islands(limit = 50, offset = 0, order_by = "plays", order = "desc")

Value

A tibble with island data

Arguments

limit

Maximum number of results (default: 50)

offset

Number of results to skip

order_by

Field to order by ("plays", "lastPlayed", etc.)

order

Sort order ("asc" or "desc")

Examples

Run this code
# Example with mock response
mock_response <- list(
  islands = list(
    list(code = "1234-5678-9012", title = "Mock Island"),
    list(code = "2345-6789-0123", title = "Test Island")
  )
)
# In practice, this would come from the API

if (FALSE) {
islands <- get_islands(limit = 50)
}

Run the code above in your browser using DataLab