register_gmql: Register into remote GMQL

Description Usage Arguments Details Value Examples

View source: R/web-services.R

Description

Register to GMQL REST services suite using the proper GMQL web service available on a remote server.

Usage

1
register_gmql(url, username, psw, email, first_name, last_name)

Arguments

url

string url of server: It must contains the server address and base url; service name is added automatically

username

string user name used to login in

psw

string password used to login in

email

string user email

first_name

string user first name

last_name

string user last name

Details

After registration you will receive an authentication token. As token remains valid on server (until the next login / registration or logout), a user can safely use a token for a previous session as a convenience; this token is saved in R Global environment to perform subsequent REST calls or batch processing even on complete R restart (if the environment has been saved). If error occurs, a specific error is printed.

Value

None

Examples

1
2
3
4
5
6
7
## Register to GMQL REST services suite 

remote_url = "http://www.gmql.eu/gmql-rest/"
## Not run: 
register_gmql(remote_url,"foo","foo","foo@foo.com","foo","foo")

## End(Not run)

RGMQL documentation built on Nov. 8, 2020, 5:59 p.m.