income tax calculator
This commit is contained in:
parent
125a657ba8
commit
b287df6e18
23
28_income_tax_calculator.py
Normal file
23
28_income_tax_calculator.py
Normal 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)
|
@ -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. **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. **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. **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/)
|
||||||
|
Loading…
Reference in New Issue
Block a user