oh.login: Authenticate with an ohmage server

Description Usage Arguments Examples

View source: R/oh.login.R

Description

Authenticate with an ohmage server

Usage

1
oh.login(user, password, serverurl, ...)

Arguments

user

ohmage username

password

ohmage passwd

serverurl

url to the ohmage server

...

extra parameters for oh.call

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
library(Ohmage)
## Not run: 
#authentication works like a cookie.
#oh.login("ohmage.admin", "ohmage.passwd", "https://example.com/app")

#list campaigns you are in
#oh.campaign.read()

#read some data
#oh.survey_response.read("urn:ohmage:campaign:mycampaign");

## End(Not run)

Ohmage documentation built on Feb. 1, 2019, 1:04 a.m.

Related to oh.login in Ohmage...