Back to Junior Level

API Wrapper


Prerequisite

  • Knowledge of calling API’s for obtaining data
  • Ability to manipulate JSON

Challenge

The business development department at GovTech wants to easily query spending trends for specific agencies. Your task is to write a program that can provide the three biggest awards in a year for a list of agencies.

Requirements

  • Write a CLI executable which accepts arguments for the Recipient Award Spending API at USASpending.gov.
  • The application must allow for multiple agencies and years to be provided.
  • The executable will return no more than the 3 biggest awards for each year in a tabular format.

Examples

IayOA10222Nngeug01000opeate19222tunrpn,,,,,etcsuc::ity22222e=:,00000Ts11111h2Y88999i=0e,,,,,s1a18r22111i0,,00000s1200000,0A00000a1m00000n09o010121ua9nr,tbi2t0r2aryexampletoillustrateexpectations.

Deliverable

  • A great README with instructions on how to run everything locally
  • A GitHub repo with read permissions given to GitHub users rafty8s,bsneider, omnipresent07, barakstout, smmorgan (how to invite collaborators)