A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://github.com/seankross/twilio below:

seankross/twilio: :phone: An interface to the Twilio API for R

An interface to the Twilio API for R. You'll need to create an account at https://www.twilio.com/, then obtain an Account SID and an Auth Token.

install.packages("twilio")

Or download the latest development version:

library(ghit)
install_github("seankross/twilio[dev]")

You should only need to do this once per session.

Sys.setenv(TWILIO_SID = "M9W4Ozq8BFX94w5St5hikg7UV0lPpH8e56")
Sys.setenv(TWILIO_TOKEN = "483H9lE05V0Jr362eq1814Li2N1I424t")

library(twilio)
tw_send_message("2125557634", "9178675903", "Hello from R 👋")
tw_send_message("2125557634", "9178675903", media_url = "https://www.r-project.org/logo/Rlogo.png")
Send a Picture Message with Text
tw_send_message("2125557634", "9178675903", "Do you like the new logo?",
  "https://www.r-project.org/logo/Rlogo.png")
messages <- tw_get_messages_list()
Make a Data Frame from the Messages List
sms_data <- tw_message_tbl(messages)
media <- tw_get_message_media(sms_data$sid[1])
browseURL(media[[1]]$url)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4