Utilities for working with Urban Airship's APIs
Project description
https://github.com/urbanairship/ua-api-utils#readme
Currently just provides a simple ua command line tool with a single sub-command:
ua get-tokens $APP_KEY $UA_SECRET
You can also set your secret as an environment variable:
UA_SECRET=... ua get-tokens $APP_KEY
And control the filename:
UA_SECRET=... ua get-tokens $APP_KEY -o some-new-file.json UA_SECRET=... ua get-tokens $APP_KEY -o - | gzip > yet-another-file.json.gz
Installing
In a virtualenv in safest (if you have virtualenv installed):
virtualenv ua-api-utils cd ua-api-utils . bin/activate pip install ua-api-utils
Or in your $HOME directory if you have your user-site in your $PATH:
pip install --user ua-api-utils
And of course, there’s always sudo to install it globally:
sudo pip install ua-api-utils
No pip?
sudo easy_install ua-api-utils
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
ua-api-utils-0.1.1.tar.gz
(3.2 kB
view details)
File details
Details for the file ua-api-utils-0.1.1.tar.gz
.
File metadata
- Download URL: ua-api-utils-0.1.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c82dc13ae169dc569cc7319d4a0e9737595d6186877769b8e59092c6aa02854 |
|
MD5 | c0719488a1ebebb55e4aa7ad03c51042 |
|
BLAKE2b-256 | 68b7af9ec63129d4777f5d9f6547a66be753f197c7b70b132fd2e83ba7481de5 |