Skip to main content

API wrapper for the Quokka security software

Project description

Quokka.io

Quokka.io is an API wrapper for Quokka SaaS Software written in Python. https://www.quokka.io/

This library uses API key authentication for requests.

Installing

pip install quokkaio

Usage

from quokkaio.quokka import Quokka

quokka = Quokka(key=apiKey)

Get group ID from Sub Group Name

subgroupID = quokka.get_sub_groups(subGroupName)

subGroupName - The name of the Sub Group

Upload an app with optional subgroup IDs

scan_response, platform = quokka.push_scan(theFile, subGroupList)

theFile - the filename of the binary

subGroupList - a python list of subgroup IDs

Download a PDF of the Quokka Analysis

quokka.download_pdf(uuid, platform)

uuid - UUID of the Quokka analysis. Can be found from scan_response["uuid"]

platform - "android" or "ios"

Retrieve app issues in JSON format

quokka.get_app_issue(uuid)

uuid - UUID of the Quokka analysis. Can be found from scan_response["uuid"]

Retrieve analytics results in JSON format

quokka.get_results(start_date)

start_date - date to retrieve the results as python datetime

Note: limitation on analytics API, can only do days from today, no end date

Retrieve a list of submitted apps in JSON format

quokka.get_apps(start_date, end_date)

start_date, end_date - date to retrieve the results as python datetime

Contributing

We are always grateful for any kind of contribution including but not limited to bug reports, code enhancements, bug fixes, and even functionality suggestions.

You can report any bug you find or suggest new functionality with a new issue.

If you want to add some functionality to the wrapper:

  1. Fork it ( https://github.com/smercer-quokka/quokka-python )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Adds my new feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

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

quokkaio-0.1.13.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quokkaio-0.1.13-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file quokkaio-0.1.13.tar.gz.

File metadata

  • Download URL: quokkaio-0.1.13.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.15

File hashes

Hashes for quokkaio-0.1.13.tar.gz
Algorithm Hash digest
SHA256 bd4bae6f56793a7d91ef4715ec4d4be6784b0975414e81614f0eb7862d1bc75f
MD5 f53e2a2e6bc38ae85c326dfd62f9a2a2
BLAKE2b-256 f680ea341cbf9150c9042555e35205f0458e05e7e3c9dda9d6bea50504dbb849

See more details on using hashes here.

File details

Details for the file quokkaio-0.1.13-py3-none-any.whl.

File metadata

  • Download URL: quokkaio-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.15

File hashes

Hashes for quokkaio-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 dfa6960724d25e03208feb06dd4316facea8bb56d8221a997c761aaea3a21561
MD5 505e81bf424e3f56fce872f397481932
BLAKE2b-256 1f6331fc1f1cb4838f48d0b12fa2185f12eba993b529ffcd61ff83c001f61b8f

See more details on using hashes here.

Supported by

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