Set or get API key in global options. To get the key, see https://rapidapi.com/skyscanner/api/skyscanner-flight-search.

apiSetKey(key)

apiGetKey()

Arguments

key

API key.

Value

apiGetKey will return the key if it has been set, otherwise NULL.

Examples

# NOT RUN {
apiSetKey("YOUR_API_KEY")
apiGetKey()
# }