Set or get API key in global options. To get the key, see https://rapidapi.com/skyscanner/api/skyscanner-flight-search.
apiSetKey(key) apiGetKey()
key | API key. |
---|
apiGetKey
will return the key if it has been set, otherwise NULL
.
# NOT RUN { apiSetKey("YOUR_API_KEY") apiGetKey() # }