Abstraction to interact with GreyNoise Labs GraphQL API.
Project description
Python GreyNoise Labs GraphQL Client
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 labs-graphql-client 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)
Changelog
Version dev
Date: unreleased
Project details
Release history Release notifications | RSS feed
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.0.tar.gz
(9.2 kB
view hashes)
Built Distribution
Close
Hashes for greynoiselabs-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70d361a053861e02eb20a8a038645dba3420d0fe22f1e7cd3bc9d72fa72adc51 |
|
MD5 | b0cae75ca16284cd7623fa538eec2a10 |
|
BLAKE2b-256 | 56ed70d3f10ea404f7a442c29e3623670fc81ffd45bfecb4cd52daefc4d622fc |