Skip to content

BayseIntelligence/batch_process

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Before starting, go to config.py and update it with your API Key.

Use a file named batch_input.txt in the same directory as the code to pass in your URLs. The file should have one url per line to be processed and should not be defanged.

Run the batch submission by typing python3 batch_submit.py

Information will be logged to the screen as the run occurs.

While the data is being processed, the UUIDs (that will need to be used to look up the final results) will be logged to bayse_result_ids.txt, one per line.

To review those results, you can do one of three things:

  1. ) Type python3 batch_save.py to save all results to a file named bayse_results_data.json
  2. ) Perform an API request for each result (documented at https://documenter.getpostman.com/view/23795814/2s8YRpGWoi#724e0559-5496-4460-a01e-4f7a71d6713c)
  3. ) Look up the result in the UI at https://bayse.io/interpretation/UUID

Filenames can be customized in config.py

About

Batch Processing For Bayse API testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages