You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
EINService/basic_example.py

15 lines
617 B

from EINService import EINTaxIDService
# Instatiate an EINService object
# This is what will be used to do all of our searches
einService = EINTaxIDService()
# Advanced Micro Devices Inc's EIN identifier:
# This is the ein we will be searching.
AMD_EIN = "94-1692300"
# The return will be an EINData object
# If the search was unsuccessful data members other than EIN will be None
searchResult = einService.search_ein(AMD_EIN)
print(searchResult)
# EIN: 941692300 | Name: advanced micro devices inc | Address: 2485 augustine drive | City: santa clara | State: ca | Phone: 408 7494000