generate_session: Function to start an api session.

View source: R/connection.R

generate_sessionR Documentation

Function to start an api session.

Description

This function is used to login the session.

Usage

generate_session(object, clientCode, password)

Arguments

object

of type smart connect, must have a valid client code and password set.

clientCode

valid client id of the user is must.

password

valid password against the user/client id is must.

Details

This function sends a request to smart api to login the session.

Value

the object data with access token and refresh token.


angelbroking-github/smartapi-r documentation built on March 30, 2022, 8:04 a.m.