Code, Tutorials and Hacks
Make the next big Internet of Things... thing.
SIGNAL 2020 was a big one for Twilio IoT. In the keynote, CEO Jeff Lawson talked about Microvisor: Twilio IoT’s new device builder platform for embedded developers. Microvisor is currently in a closed private beta, so we can’t play with it yet. However, we also got to see Twilio IoT’s more widely available offerings via demos, talks, and games.
SIGNAL TV’s live IoT robot battles, powered by Electric Imp. See the full segment here.
If you’re itching to hear more about the Microvisor, stay tuned or check out the Twilio IoT live video session coming out on November 5th. And for those of you who want to start building right now, here’s some currently available Twilio IoT tools that you can use today.
1. Electric Imp
Sometimes, we want to build for the Internet of Things, but we don’t want …
Halloween is just around the corner, and not only is it the prime time for tricks and treats, but it's also fun for those of you who love a thrill in storytelling. If you love writing – or simply want to get spooked out by what a computer can generate – then this will be a fun project for you to check out.
In this tutorial we will implement a task queue in Python to make multiple calls to OpenAI's GPT-3 engine to generate fictional text. Plus, you'll have a neat program to leave on your computer and trick people who look at your screen into thinking that an actual ghost is writing a story!
By 2012, Dahl felt the primary goal of creating a user-friendly non-blocking framework had been achieved, with Node.js having support for multiple protocols, cross-platform support, a relatively stable API, and a growing ecosystem of external modules distributed through npm.
But over time it became apparent to Dahl that a number of design decisions, like the early removal of Promises, caused problems. Security, the GYP build system, and …
In this tutorial, we are going to build a WhatsApp bot that allows you to manage your Zoom meetings. Some of the functions include creating or deleting a meeting and listing all upcoming meetings. The bot will be built using Twilio API for WhatsApp, Zoom API and the Flask framework for Python.
You need the following to follow along in this tutorial;
- A Twilio Account: You need to create a free Twilio account to gain access to the WhatsApp sandbox environment. This will allow you to interact securely with the Twilio number assigned to you on your WhatsApp application. A free twilio account comes with certain features and limitations.
- A Zoom Account: You need to create a free Zoom account if you do not already have one. With a zoom account, you can create a zoom app which comes with access to their API.
- Python 3.6 …
Você acabou de configurar o Flex e deve estar se perguntando: Mas e agora?
Agora você deve estar pensando sobre sua estratégia de roteamento e filas, certo? Nesta postagem vamos cobrir algumas opções básicas para enfileiramento baseado em "skills" (habilidades), já que isso vai definir os alicerces para seus relatórios do Contact Center.
O que vamos construir hoje
O Flex permite explorar todo o poder do Twilio TaskRouter, que é um sistema poderoso de roteamento baseado em atributos, e o coração do contact center. Ele também é totalmente programável, permitindo controlar o seu contact center utilizando código. Vamos falar sobre um caso de uso simples hoje: "Como configurar um contact center para suportar meus clientes e funcionários utilizando o Flex?"
Para fazer isso, vamos construir duas novas filas de tarefas (Task Queues): "Customer Service" e "Employee Service". Estas filas vão permitir segmentar nosso tráfego de clientes e …
I always struggle to take my dogs to the groomer because scheduling an appointment is a bit tedious and complicated. I always have to call directly to the store, hoping someone is available to pick up the phone, then wait for them to check on their calendars to see if there is a spot available for them and confirm it.
Technology is all about automation and making people’s lives easier so I thought it would be a good idea to come up with a scheduler bot that would do all that work for us, taking advantage of a great AI platform from Twilio called Autopilot and a bit of logic with Python on the backend to connect to a Google Calendar.
The interaction flow would be something like this:
- The user starts the conversation by sending a message to the bot on WhatsApp
- WhatsApp redirects the request to Autopilot for …
Blazor Server provides support for hosting Razor components on a server in an ASP.NET Core app. At runtime, the Blazor Server app sends UI events from the browser to the server and applies UI updates sent from the server to the rendered component.
Blazor Server is built on SignalR, which is built on websockets. Among things, websockets enable Blazor Server to push changes from the server to the browser at any time. You can build real time UIs when you combine this with a real-time database such as Google Firestore.
Firestore is Google Firebase's real-time database offering on the Google Cloud Platform (GCP). Google provides .NET libraries for interacting with …
With concerts canceled and many artists being unable to release new music, people around the world are missing their favorite bands. What if you could fill that void by bringing any band or artist's lyrical style home with Python code to generate new songs?
Try texting the name of your favorite artist to +1 (315) 65-LYRICS (+1 315 659-7427) or +44 7401 193427 if you're in the UK to get lyrics in their style, and continue reading to find out how to program this yourself!
OpenAI's new GPT-3 (Generative Pre-trained Transformer 3) model was trained on a massive corpus of text making it incredibly powerful. This can be used to generate song lyrics in the style of any artist with surprisingly little input text given to it as a prompt.
Let's walk through how to create a text-message powered bot to generate song lyrics in Python using Twilio Programmable …
Ever wondered how platforms like Binance set price watchlists for different Bitcoin price alerts? If so, imagine getting a daily SMS alert whenever the price of Bitcoin changes.
This tutorial will teach you how to use Twilio Programmable SMS to send out live Bitcoin rates every day using your Laravel app. After we’re finished, you will be able to automatically send an SMS containing the conversion rate of Bitcoin to USD to your phone number, daily.
We will begin with a new Laravel project. Additionally, the following modules are required for proper functionality. These modules are:
Having installed Laravel on your machine, proceed to create a new project using the Laravel CLI:
$ laravel new bitcoin_watcher
Or using the Composer
$ composer create-project --prefer-dist laravel/laravel bitcoin_watcher
Next, install Twilio’s PHP SDK to …
XAML stands for Extensible Application Markup Language, and it is a declarative language that describes WPF’s elements, relationships, and behaviors. XAML elements map directly to Common Language Runtime (CLR) object instances and XAML attributes correspond to the properties and events of CLR objects.
In this tutorial, you will explore the various ways to animate visual elements in …