Skip to main content

Utilities for working with Urban Airship's APIs

Project description

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

Project details


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.0.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file ua-api-utils-0.1.0.tar.gz.

File metadata

  • Download URL: ua-api-utils-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ua-api-utils-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7231fa3fb873ed28921d2f9e11dcd41615a0d79421a26eca74df69e926eb1ea6
MD5 39524859ba72a48198d87cf5e34ab140
BLAKE2b-256 a54afaa7f7e1cdd306ea198f0b28bf675ce75e5e3ed315476ec9a13f25b7b512

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page