getAPI-methods: LegiScan Accessor Methods - getAPI

Description Usage Arguments Value See Also Examples

Description

Generic accessor method for retrieving the value from the api slot

Accessor method for the api slot of the LegiScan class object

Usage

1
2
3
4
getAPI(legiscan)

## S4 method for signature 'LegiScan'
getAPI(legiscan)

Arguments

legiscan

An object of class LegiScan

Value

Returns the users' api key stored in the LegiScan object

See Also

Other LegiScan Accessor Generics: getFormat, getFormat,LegiScan-method, getFormat,LegiScan-methods; getUrl, getUrl,LegiScan-method, getUrl,LegiScan-methods

Other LegiScan Accessor Methods: getFormat, getFormat,LegiScan-method, getFormat,LegiScan-methods; getUrl, getUrl,LegiScan-method, getUrl,LegiScan-methods

Examples

1
2
3
4
5
6
7
8
## Not run: 
# Create an object of class LegiScan
myLegiScan <- legiscanR()

# Retrieve the value of the stored API key
getAPI(myLegiScan)

## End(Not run)

wbuchanan/legiscanR documentation built on May 4, 2019, 2:01 a.m.