Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A command-line interface for Vumi Go's HTTP APIs

Project description

A command line interface for Vumi Go HTTP APIs.

go-cli go-cli-cover


Install with:

$ pip install --user go-cli

Then run:

$ go-cli --help

and read the usage instructions.

Sending messages


$ go-cli send --help

to learn about the options available for sending.

Example message sending:

$ go-cli --account 1edfdd412f253e9fc4975eb93c2c1e8c \
         send \
         --conversation a3aa791fab164dc894328564e2be5f16 \
         --token secret-token-you-entered \
         --csv messages.csv

Where messages.csv looks something like:

+12345678,"Hello first person"
+12345679,"Hello second person"

Exporting contacts


$ go-cli export-contacts --help

to learn about the options available for downloading contacts.

Example contact exporting:

$ go-cli --account 1edfdd412f253e9fc4975eb93c2c1e8c \
         export-contacts \
         --token secret-token-for-your-contacts-api \
         --csv contacts.csv

Where contacts.csv is the file you’d like to export the contacts to.

If contact exporting is interrupt by a network error, a message will be printed explaining how to use –resume to continue it.

Reporting issues

You can contact the Vumi development team in the following ways:

Issues can be filed in the GitHub issue tracker. Please don’t use the issue tracker for general support queries.

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 go-cli, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size go_cli-0.1.1-py2-none-any.whl (11.5 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size go-cli-0.1.1.tar.gz (9.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page