I want to fetch the revenue of different companies from their income statements. 

qb = QuantBook()
aapl = qb.AddEquity("AAPL")

qb.GetFundamental(qb.Securities.Keys, "FinancialStatements.IncomeStatement.TotalRevenue.OneMonth", start_time, end_time)

Author