Popularity
2.4
Stable
Activity
0.0
Declining
3
2
5
Monthly Downloads: 0
Programming language: Elixir
License: MIT License
Tags:
Third Party APIs
Latest version: v1.2.3
bandwidth alternatives and similar packages
Based on the "Third Party APIs" category.
Alternatively, view bandwidth alternatives based on common mentions on social networks and blogs.
-
ethereumex
Elixir JSON-RPC client for the Ethereum blockchain 0x063D3d782598744AF1252eBEaf3aA97D990Edf72 -
MongoosePush
MongoosePush is a simple Elixir RESTful service allowing to send push notification via FCM and/or APNS. -
cashier
Cashier is an Elixir library that aims to be an easy to use payment gateway, whilst offering the fault tolerance and scalability benefits of being built on top of Erlang/OTP
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
Promo
coderabbit.ai
Do you think we are missing an alternative of bandwidth or a related project?
Popular Comparisons
README
elixir-bandwidth
An Elixir client library for the Bandwidth Application Platform
SDK for Bandwidth HTTP Voice and Messaging
Install
Add as a dependency:
defp deps() do
[{:bandwidth, "~> 1.2.2"}]
end
Fetch and compile:
mix do deps.get, deps.compile
Or install as archive:
git clone https://github.com/bandwidth/elixir-bandwidth.git
cd elixir-bandwidth
mix install
Usage
use Bandwidth
# Create a client
client = Client.new("user-id", "api-token", "api-secret")
# Find a message
case Messages.find(client, "m-slkdfjskldjfklsjfdlk") do
{:ok, {200, message, headers}} -> IO.inspect message
{:ok, {404, _, _}} -> IO.puts "not found :("
{:error, reason} -> IO.inspect reason
end
# Send a message
message = %{from: "+12223334444", to: "+13334445555", text: "hello bandwidth"}
case Messages.create(client, message) do
{:ok, {201, _, headers}} -> IO.puts "message sent!"
{:error, reason} -> IO.inspect reason
end
# Search for a local number
case AvailableNumbers.Local.search(client, zip: 22303) do
{:ok, {200, numbers, headers}} -> IO.inspect numbers
{:error, reason} -> IO.inspect reason
end