income tax calculator

This commit is contained in:
Michael Herman 2015-09-13 18:26:43 -06:00
parent 125a657ba8
commit b287df6e18
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,23 @@
import requests
headers = {
'Content-Type': 'application/x-www-form-urlencoded',
'Accept': 'application/json',
}
data = {
'pay_rate': '10000',
'filing_status': 'single',
'pay_periods': 1,
'state': 'CO',
'year':
'2014'
}
r = requests.post(
'http://taxee.io/api/v1/calculate/2014',
data=data,
headers=headers
)
print(r.text)

View File

@ -27,3 +27,4 @@
1. **25_ip2geolocation.py**: Given a CSV file with an ip address (see sample - *25_sample_csv.csv*), return the geolocation based on the ip.
1. **26_stock_scraper.py**: Scrape the S&P 500 Companies list from Wikipedia, then output the data.
1. **27_send_sms.py**: Send SMS message via [TextBelt](http://textbelt.com/)
1. **28_income_tax_calculator.py**: Income tax calcuator via [Taxee](http://taxee.io/)