Skip to main content

Pindo is a communication platform for humans and machines

Project description


travis fury pipy


Install from PyPi using pip, a package manager for Python.

pip3 install pindo-cli

Don't have pip installed? Try installing it, by running this from the command line:

$ curl | python

python install

You may need to run the above commands with sudo.

Getting Started

Once you're have install Pindo CLI you're ready to go.

pindo --help

Create an account

For creating a Pindo account you need to provide your username, email, and password

pindo register


Requesting a token require you to provide your username and password

pindo token

Refresh your token

pindo refresh-token

Send a test message

Sending a test message will require you providing the requested token, a receiver, the message your want to send, and also the sender id.

pindo sms

API Usage

The pindo api needs your Token. You can either pass the token directly to the constructor (see the code below) or via environment variables.

# cURL

curl -X POST \ \
-H 'Accept: */*' \
-H 'Authorization: Bearer your-token' \
-H 'Content-Type: application/json' \
-d '{
"to" : "+250781234567", 
"text" : "Hello from Pindo",
"sender" : "Pindo"
# python

import requests

headers = {'Authorization': 'Bearer ' + token}
data = {'to' : '+250781234567', 'text' : 'Hello from Pindo', 'sender' : 'Pindo'}

url = ''
response =, json=data, headers=headers)
// NodeJS

var request = require("request");
data = { to: "+250781234567", text: "Hello from Pindo", sender: "Pindo" };

var options = {
method: "POST",
body: data,
json: true,
url: "",
headers: {
Authorization: "Bearer your-token"

function callback(error, response, body) {
if (!error && response.statusCode == 200) {
//call the request

request(options, callback);
// Java

OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{"to" : "+250781234567", "text" : "Hello from Pindo","sender" : "Pindo"}");
Request request = new Request.Builder()
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer your-token")
Response response = client.newCall(request).execute();
// PHP

$request = new HttpRequest();

'Authorization' => 'Bearer your-token',
'Content-Type' => 'application/json'

"to" : "+250781234567", 
"text" : "Hello from Pindo",
"sender" : "Pindo"

try {
$response = $request->send();

echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
// GO

package main

import (

func main() {

url := ""

payload := strings.NewReader("{"to" : "+250781234567", "text" : "Hello from Pindo","sender" : "Pindo"}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("Content-Type", "application/json")
req.Header.Add("Authorization", "Bearer your-token")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pindo-cli, version 0.1.7
Filename, size & hash File type Python version Upload date
pindo-cli-0.1.7.tar.gz (4.6 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page