Skip to main content

Ubuntu Store API thin wrapper.

Project description

surl Build Status Snap Status

Ubuntu Store API thin wrapper


Get it from the Snap Store

Or simply use the snap CLI:

$ snap install surl [--edge]


Verifying credentials:

$ surl -e -s staging
Password for
2FA (if enabled): ******
{"account": ..., "allowed": true, "permissions": ["package_access"], "channels": ["edge"]}

Storing authorization:

$ surl -e -s staging \
  -p package_access -p package_register -a stg-reg
Password for ****
Second-factor auth for staging: ****

Using stored authorizations:

$ surl -a stg-reg | jq .
  "account": {
    "openid": "******",
    "verified": true,
    "displayname": "Celso Providelo",
    "email": ""
  "last_auth": "2016-08-11T19:12:42.034584",
  "refresh_required": false,
  "allowed": true,
  "permissions": [

Registering a snap name in staging:

$ surl -a stg-reg -d'{"snap_name": "surl"}' \
{"snap_id": "wKFeK2U7Y2CB53vRJwg9MeR9bqfPvtZK"}

Happy hacking!

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 surl, version 0.7.2
Filename, size File type Python version Upload date Hashes
Filename, size surl-0.7.2-py3-none-any.whl (27.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size surl-0.7.2.tar.gz (11.7 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