Skip to content

Example of handling pagination with the Threat Grid API

Notifications You must be signed in to change notification settings

CiscoSecurity/tg-03-pagination

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Gitter chat

Threat Grid pagination:

This script has the basic logic required for handling pagination in the Threat Grid API. It prints the Sample IDs to the console.

Before using you must update the following:

  • tg_api_key

Usage:

python 01_paginate.py

Example script output:

a82c9be94da0771321deeee0804f7b96
b7b2065356259058a0654795ab4e72d9
8484c1d20a2c581c025aea67083d6369
62149b7cb406a61ea1de53d2d6c49d0f
408156e826982932566e1ba8710f590c
9a09d649a70ec1ee04b08a0159dc5305
416b76fc8c1de25600b1a841110eca4f
27f20d77ad7b7116deb7e2bc17978f87
cfe41d73dd37fc52ce1dd1b3c733914b
f6bff9ad17737d5677d8d9f0369d7c8a
5a7a37719851d173ff9c412747dd41ee
890be4fc283a69a369d4d8fdcb03b7f3
80ceea855895abec17055c68e3c367c7
98955cb489982813f9f7f960d91b9109
1afa9bceac8fbd9ce48ec515fbb778be
123bd432736829be770d7fa5d564cea9
53399e33f1e85900f8d0239405180f2c

About

Example of handling pagination with the Threat Grid API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages