mb_login: Login and Authenticate with the Matchbook.com API

Description Usage Arguments Value See Also Examples

Description

Validate your session with the Matchbook API.

Usage

1
mb_login(username, password, print_balance_details = TRUE)

Arguments

username

Your Matchbook.com username. If you are not already registered go to Matchbook.com.

password

The password set by you during the registration process.

print_balance_details

optional parameter to allow balance and exposure display at the time of login

Value

A list with status_code and other fields relating to your session and account. If the log-in is successful, a status_code of 200 is returned.

See Also

mb_logout

Examples

1
## Not run: mb_login("my_username","verysafepassword")

Example output

Welcome to the Matchbook.com R-package

matchbook documentation built on May 2, 2019, 5:49 a.m.