Description Usage Arguments Details Value Author(s) References Examples
Login or signup for Scribd
1 2 3 | scribd_login(username, password, ...)
scribd_signup(username, password, email, name = NULL, ...)
|
username |
A character string containing a Scribd username to log in with, or one to create. In |
password |
A character string containing a password associated with Scribd username (or, in |
email |
A character string containing a working email address to register to the new account. |
name |
Optionally a character string containing your full name. |
... |
Other arguments passed to HTTP request functions. |
These two functions can be used to signup for and/or login to a Scribd user account. Both functions have the side effect of registering options('scribd_session_key')
, which allows all rscribd functions to be performed on this specific user account (rather than the account associated with the API key stored in options('scribd_api_key')
. These are really only useful if you are developing an application that wraps rscribd for use by multiple users.
Be aware that username
and password
are passed to the Scribd API via unencoded URL query string parameters. While SSL is used for all API calls, one may want to avoid using these functions for reasons of security.
A list containing details of the user account.
Thomas J. Leeper
1 2 3 4 5 6 7 8 | ## Not run:
options("scribd_session_key")
scribd_signup("newuser", "password", "email@example.com", "First Last")
options("scribd_session_key")
scribd_signup("newuser", "password")
options("scribd_session_key")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.