Skip to main content

Abstraction to interact with GreyNoise Labs GraphQL API.

Project description

https://img.shields.io/badge/License-MIT-yellow.svg

This is an abstract python library generated from the GreyNoise Labs API service.

Documentation

Documentation is available here: Documentation

Quick Start

Install the library:

pip install greynoiselabs or python setup.py install

Example Code

import os
import asyncio
from greynoiselabs.client import Client

client = Client("https://api.labs.greynoise.io/1/query",
                {"Authorization": f"Bearer {os.environ['AUTH_TOKEN']}"})

response = asyncio.run(client.top_knocks(ip="221.144.229.187"))
print(response)

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

greynoiselabs-0.1.7.tar.gz (13.0 kB view hashes)

Uploaded Source

Built Distribution

greynoiselabs-0.1.7-py3-none-any.whl (19.0 kB view hashes)

Uploaded Python 3

Supported by

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