Congress recently came out with an official API so the public can "view, retrieve, and re-use machine-readable data from collections available on Congress.gov!" Read on to learn how to read congressional data using the Congress API, Twilio Functions, and the Twilio Serverless Toolkit.
Text "bill", "amendment", or "summaries" to +12029337044 to receive data about a random bill or amendment!
- A Twilio account - sign up for a free one here
- A Twilio phone number with SMS capabilities - configure one here
- A Congress.gov API Key – get one here
- Postman (you could alternatively make cURL requests from the command line)
- Node.js installed - download it here
Make a congress.gov Requ …
In Data Processing, Getting Data is one task and Saving it is another. Segment makes it easy to collect, prepare, and clean data, but what about storing it for future use or analysis? Read on to learn how to use the Twilio Serverless Toolkit to write Segment data about page visits to a Notion database using Notion's API, which is especially handy if you're a big Notion user.
To follow along with this post, you need these things:
- A Twilio account - sign up for a free one here and receive an extra $10 if you upgrade through this link
- A Twilio phone number with SMS capabilities - configure one here
- Segment account - sign up for a free one here
- Node.js installed - download it here.
- Notion account - download the Mac or iOS app here and make an account (or you can just make an account …
The month of October brings along many festivities—dressing up in costumes, going trick-or-treating, stopping by a pumpkin patch, or visiting a festival! For those who enjoy a good scare, maybe check out a haunted house and settle down at home with a nice, spooky movie. But what if you don’t know what to watch? Searching through the thousands of movies on IMDB can take a lot of time, and sometimes your favorite streaming service isn’t recommending the movies for you.
For this tutorial, you will need:
- A free Twilio Account.
- A Twilio phone number.
- A personal phone number.
- A phone that can make and receive messages.
Set up your developer environment
Before you can write …
September is National Disaster Preparedness Month. To help yourself stay prepared, you’ll learn how to build an app that will send an SMS to all of your emergency contacts with just one text message. If you find yourself in a difficult or emergent situation, having the ability to notify multiple people with one quick message might be able to get you help faster or reunite your family sooner.
To get started with this tutorial, you’ll need the following:
- Node.js version 14.16 or above installed on your machine
- A free Twilio account
- A Twilio phone number
- The Twilio CLI installed on your machine
Build your app with Twilio Functions
Your app will run on Twilio Functions. Twilio Functions is a serverless environment that lets you deploy backend services without the overhead of setting up a server. With Twilio Functions, you can develop locally and deploy to production through the Twilio …
Biometrics technology is frequently used for authentication and identification purposes across industries, including financial services, healthcare, and the humanitarian sector. Integrating biometrics into development and humanitarian assistance programs can help to identify the people targeted for assistance, reduce fraud and de-duplication, and simplify registration and identification.
The World Food Programme uses biometrics to make sure that the right assistance reaches the right people. Vodacom Tanzania uses voice biometrics to enable people with disabilities to access their products and services more easily. Chase Bank uses Voice ID to identify callers accessing personal bank account information. Another interesting fact about voice biometrics is that if compromised, they can be invalidated by enrolling a new phrase. If your face, fingerprint, or iris data is hacked you cannot invalidate the data, and your identity is lost forever. It's complicated, however – we recognize that the use of biometrics has pros and cons, and it's …
In some cases, you need to gather chunks of data from multiple sources and submit the final information package to the server for processing. The work-in-progress (WIP) pattern enables you to gather lots of data over a long period of time before reviewing it and submitting the data collected for processing.
The key component of the WIP pattern is a persistent “work document” that you keep enriching with input over time and finally submit to the server after a review. The work document is not a single entity, and the pattern allows you to manage several work documents simultaneously. For example, you might want to create individual work documents for every customer requesting approval for credit purchases.
A work-in-progress application should support the following operations:
- Create document: Create a new work document.
- Read document: Get a single work document.
- List documents: Get the list of work documents. …
- Twilio CLI - インストール手順
- Twilioコンソールで作成可能なVerifyサービス - この記事ではサービスの名前を「Serverless Phone Verification」(サーバーレス電話認証)と設定
Airtable is a great tool for prototyping applications that require a database. However, when using multiple API’s in an application, it can get complicated and tricky to juggle all the functions and parameters from different services.
In this post, we will make a simple, serverless RSVP system with Twilio Functions and Twilio Studio that will scan an Airtable guest list for phone numbers, send a personalized message to each of them, and then update our Airtable records with the responses from each of the invitees as to whether or not they wish to confirm their attendance. Let’s get started!
Before you begin, you will need a few things:
- Twilio account—sign up with this link for a free trial account and receive $10 credit when you upgrade your account
- Twilio phone number—configure one here
- Airtable account
Airtable setup and layout
Let’s first start with what we need from …
Time of day routing allows you to manage where incoming calls are directed based on time periods and which day it is. For example, routing calls to a support line during business hours or an after hours voicemail to maximize customer satisfaction. This can get extra tricky when the server that’s running your call routing app is located in a different time zone than your business (and this is extremely likely)!
In this tutorial, you’ll be building an app that routes incoming calls depending on the day, time of day relative to your business hours, and your business’ time zone. This will all run on Twilio’s Serverless infrastructure, so you won’t need to worry about hosting.
- A Twilio account—sign up for a free one here and receive an extra $10 if you upgrade through this link
- A Twilio phone number with SMS capabilities—configure one here
- Node.js installed— …
A common need in video calling applications is to allow a user to play a media file for the other participants in the call. This can enable, for example, a teacher or doctor to share a recording with the call attendees.
The MediaStream API
But the MediaStream APIs cover much more than webcams and microphones and can be used to obtain
MediaStream objects from other sources. For example, the …