Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

DoD Vendor Vendor Fetcher

This Python script fetches and displays Department of Defense (DoD) vendors with contracts over $25,000 USD from the USASpending API in a colorful command-line interface (CLI). It retrieves data live, page by page, up to 50 pages (5,000 vendors), with 100 vendors per page.

Features

  • Fetches vendor data (name, award amount, award ID) in real-time.
  • Filters awards to ensure they exceed $25,000 USD.
  • Displays vendors with vibrant colors using colorama.
  • Paginates through 50 pages with user input ('n' for next, 'q' to quit).

Usage

Run the script:

python3 dod_vendors.py

Follow the prompts:

n: Fetch the next page of vendors.
q: Quit the script.
The script stops automatically after page 50 (5,000 vendors).

This is what the results should look like when running it:

Screen.Recording.2025-02-20.at.12.13.21.PM.mov

Author

Michael Mendy (c) 2025.

About

This Python script is a command-line interface (CLI) tool that retrieves and displays Department of Defense (DoD) vendors with contracts exceeding $25,000 USD from the USASpending API.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages