SDKs & Libraries
SDKs
Official CloudVNO SDKs for the most popular languages. All SDKs are open source and actively maintained.
Python
Official
v1.0.0Install
pip install cloudvno
Quick example
from cloudvno import Client
client = Client("YOUR_API_KEY")
# Send SMS
message = client.messages.send(
from_="+14155551234",
to="+12125559876",
body="Hello!"
)
print(message.sid)Node.js
Official
v1.0.0Install
npm install @cloudvno/sdk
Quick example
import { CloudVNO } from '@cloudvno/sdk';
const client = new CloudVNO({ apiKey: 'YOUR_API_KEY' });
// Send SMS
const message = await client.messages.send({
from: '+14155551234',
to: '+12125559876',
body: 'Hello!',
});
console.log(message.sid);PHP
Official
v1.0.0Install
composer require cloudvno/cloudvno-php
Quick example
<?php
require_once 'vendor/autoload.php';
use CloudVNO\Client;
$client = new Client('YOUR_API_KEY');
$message = $client->messages->send([
'from' => '+14155551234',
'to' => '+12125559876',
'body' => 'Hello!',
]);
echo $message->sid;Go
Official
v1.0.0Install
go get github.com/cloudvno/cloudvno-go
Quick example
package main
import (
"fmt"
"github.com/cloudvno/cloudvno-go"
)
func main() {
client := cloudvno.NewClient("YOUR_API_KEY")
msg, err := client.Messages.Send(cloudvno.MessageParams{
From: "+14155551234",
To: "+12125559876",
Body: "Hello!",
})
if err != nil {
panic(err)
}
fmt.Println(msg.SID)
}Ruby
Official
v1.0.0Install
gem install cloudvno
Quick example
require 'cloudvno'
client = CloudVNO::Client.new(api_key: 'YOUR_API_KEY')
message = client.messages.send(
from: '+14155551234',
to: '+12125559876',
body: 'Hello!'
)
puts message.sidJava
Official
v1.0.0Install
<dependency>
<groupId>com.cloudvno</groupId>
<artifactId>cloudvno-java</artifactId>
<version>1.0.0</version>
</dependency>
Quick example
import com.cloudvno.CloudVNO;
import com.cloudvno.rest.api.api.Messages;
CloudVNO client = new CloudVNO("YOUR_API_KEY");
Message message = client.messages()
.create("+14155551234")
.to("+12125559876")
.body("Hello!")
.create();
System.out.println(message.getSid());Missing your language?
All CloudVNO APIs are standard REST with JSON. You can use any HTTP client. See the API reference for curl examples that work in any language.