This Alfred workflow is for developers that uses a lot Twilio and need to easily get data from the API with Twilio CLI when they are in Twilio console.
Twilio CLI is a powerful tool, but there is a lot of ressources that you can work with, even if you usually use few of them.
This workflow allows you to get a ressource as a JSON object, simply by using Twilio console URL.
Just type twilio
and paste the URL of the Twilio console page you are in.
This workflow will build Twilio CLI command, run it, and paste the result in your clipboard.
You can use ⌘ if you simply want the command to be ran in a terminal window.
- user : fetch a user
- user's channels : fetch all the channel of a user
- channel : fetch a channel
- channel's members : fetch all the members of a channel
- channel's messages : fetch all the messages of a channel
- message : fetch a message
- Alfred only support Python 2.7 for now (which is the version that is shipped in macOS).
- I'm not a Python developer, this is my first ever script in this language. If you have any suggestion on the code, let me know, I'll be very happy to learn more about Python !
- This is my first published Alfred workflow