Description Usage Arguments Details Value Examples
Retrieve the carrier for a single phone number, with country optionally provided.
1 2 | tm_carrier(phone = NA, country = NA, tm_user = Sys.getenv("TM_USER"),
tm_key = Sys.getenv("TM_KEY"))
|
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. |
This function uses the TextMagic carrier lookup API. https://www.textmagic.com/docs/api/carrier-lookup/
a list containing the response from the API
1 | tm_carrier(phone='6178675309', country='US')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.