🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

Apilisk

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Apilisk

Remote test runner for Apiwatcher platform

0.2.1
PyPI
Maintainers
1

Apilisk

Standalone rest client for Apiwatcher platform.

It can run testcases defined in Apiwatcher locally on you machine or on CI server.

Installation

Currently Apilisk is distributed using Pypi, more options for download are comming soon.

Linux

The best way is to create a virtual environment and then use pip.

.. code-block:: shell

virtualenv env . env/bin/activate

pip install Apilisk

You must have libcurl installed.

OS X

On Mac we suggest to use easy_install, although pip should work as well.

.. code-block:: shell

sudo easy_install Apilisk

Run

At first you need to have a team in Apiwatcher, so sign/log in.

You need to create a project and some testcases, otherwise there is nothing to run. :) And finally you need to have a credentials (Client ID and Client secret). This you can find under team settings - create a new pair and download the configuration file for Apilisk or copy paste the command with apilisk init, which will create the file for you.

.. code-block:: python

apilisk init --client-secret SECRET --client-id ID --agent-id "My agent"

Example file:

.. code-block::

{ "host": "https://api2.apiwatcher.com", "port": 443, "client_id": "YOUR_CLIENT_ID", "client_secret": "YOUR_CLIENT_SECRET", "agent_id": "My local agent" }

And now just run it :)

.. code-block:: shell

apilisk run -c apilisk.json -u -v 1 -d YOUR_DATASET_ID -p YOUR_PROJECT_HASH

Keywords

http client apiwatcher apilisk

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts