Loan calculator
A simple HTTP API to calculate the monthly payment for a loan.
More details on our Python examples can be found in our GitHub repository.
You will need to download the simple loan calculator and amortization table from Microsoft,
upload it to your GRID account and replace REPLACE_WITH_YOUR_SPREADSHEET_ID
with its workbook id.
See our quick start guide for more details.
Make sure your API key is set in the environment variable GRID_API_TOKEN
, or passed as an argument to the Grid
class.
To start the loan calculator server, run the following:
Open this URL in your browser:
http://localhost:8000/?loan_amount=1000&years=1&interest_rate=2
You should get a response like: