auth asks the API's server for a session ID (SID), which you can then
pass along to either
there are limits on how many session IDs you can get in a given period of time
(roughly 5 SIDs in a 5 minute period).
Your username. Specify
Your password. Specify
A session ID
1 2 3 4 5 6 7 8 9 10 11
## Not run: # Pass user credentials in manually: auth("some_username", password = "some_password") # Use the default of looking for username and password in envvars, so you # don't have to keep specifying them in your code: Sys.setenv(WOS_USERNAME = "some_username", WOS_PASSWORD = "some_password") auth() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.