Skip to main content

API wrapper for the Quokka security software

Project description

Quokka-python

quokka 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 quokka

Usage

from quokka.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/generalgau/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.1.tar.gz (2.7 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.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quokkaio-0.1.1.tar.gz
  • Upload date:
  • Size: 2.7 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.1.tar.gz
Algorithm Hash digest
SHA256 91568045a090103852ccafb68ef65746a4c9dd6989e5201b4ca30a9797dbf59e
MD5 7b4a20d1d257f9df19b4af954951e1ff
BLAKE2b-256 8ddd6a281e0b159b18dac2d19e92334b6478718a327c67645ab48b0601d53278

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quokkaio-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9930f4d6a883e8fc3b5f5826db774935c09fb0b0f9efb78b17bb96626b0b1db1
MD5 6675e287f2dea316b4b4cd0fc297d6d1
BLAKE2b-256 023538e233ef8836ae4f818ee9a4a5b38ee808c817fec95014ec39c68125c21b

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