gen_params {textrar}R Documentation

Generate parameters for API call

Description

This function generates a list of parameters that can be used to make an API call.

Usage

gen_params(key, secret, name, api_name = "mt")

Arguments

key

The API key.

secret

The API secret.

name

The name of the API.

api_name

The name of the API to use. Defaults to "mt".

Value

A list of parameters.

Examples

## Not run: 
key <- "abcdefghijklmnopqrstuvw01234567890abcdef1" # API key
secret <- "xyzabcdefghijklmnopqrstuvw012345"       # API secret
name <- "login_ID"                                 # login_ID
params <- gen_params(key = key, secret = secret, name = name)

## End(Not run)


[Package textrar version 0.8.0 Index]