tm_carrier: TextMagic - Single Carrier Lookup

Description Usage Arguments Details Value Examples

View source: R/tm_carrier.R

Description

Retrieve the carrier for a single phone number, with country optionally provided.

Usage

1
2
tm_carrier(phone = NA, country = NA, tm_user = Sys.getenv("TM_USER"),
  tm_key = Sys.getenv("TM_KEY"))

Arguments

phone

character The phone number. Required.

country

character The phone number. Optional.

tm_user

character The TextMagic API username. Looks for environment variable TM_USER. Required..

tm_key

character The TextMagic API key. Looks for environment variable TM_KEY. Required.

Details

This function uses the TextMagic carrier lookup API. https://www.textmagic.com/docs/api/carrier-lookup/

Value

a list containing the response from the API

Examples

1
tm_carrier(phone='6178675309', country='US')

Btibert3/et documentation built on May 23, 2019, 1:44 p.m.