Ways to get industry/sector/market info given a symbol?

ideally something like this:
input: AAPL
output: (industry/sector/market) electronic equipment/consumer electronics/NASDAQ

anyone know any free source for this that I can access using python? I'm thinking about yahoo's yql or quandl, something like that.
 
Back
Top