A command-line interface for Vumi Go's HTTP APIs
Project description
A command line interface for Vumi Go HTTP APIs.
Installation
Install with:
$ pip install --user go-cli
Then run:
$ go-cli --help
and read the usage instructions.
Sending messages
Run:
$ 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:
to_addr,content +12345678,"Hello first person" +12345679,"Hello second person"
Exporting contacts
Run:
$ 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:
via email by joining the the vumi-dev@googlegroups.com mailing list
on irc in #vumi on the Freenode IRC network
Issues can be filed in the GitHub issue tracker. Please don’t use the issue tracker for general support queries.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file go-cli-0.1.1.tar.gz
.
File metadata
- Download URL: go-cli-0.1.1.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b17d22f510c6c64e8ebafa5e7067e700ca5d6e448bf35df034bfe94e20ea9e7 |
|
MD5 | 468836c557981da5f4bc673b3f2f0f1e |
|
BLAKE2b-256 | 3bc0c8c076c2dc52192ad1e10b0cc0577af446f1b2f0c83fdda9a4057bc6bce6 |
Provenance
File details
Details for the file go_cli-0.1.1-py2-none-any.whl
.
File metadata
- Download URL: go_cli-0.1.1-py2-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73d62c9eb3a983f62518bcdaa081ff4af9d6cb5bf192af28bf32ceb9ddc18305 |
|
MD5 | a6c2c36a6e3cfd76495a3e92df12f823 |
|
BLAKE2b-256 | 34c1e13e747880376a91da6b593cfdf4bebe1f838f61fa2391c662c7d9fbdf86 |