Skip to main content
Get objects by ID will be soon supported in the API.
Next, we demonstrate how to fetch analytics in reverse, i.e., by providing an ID. When managing searches and handling responses, matches are often represented by IDs. To retrieve their metadata, the methods are available, supporting an array of items as input:
FAANG = ["228D42", "D8442A", "4A6F00", "ECD263", "4A6F00"]
entities_lookup = bigdata.knowledge_graph.get_entities(FAANG)

for entity in entities_lookup:
   entity_data = vars(entity)
   for key, value in entity_data.items():
      print(f"{key.capitalize()}: {value}")
   print()

# Other analytic types you can look-up
topics_lookup = bigdata.knowledge_graph.get_topics(["business,stock-prices,stock-price,,"])

sources_lookup = bigdata.knowledge_graph.get_sources(["B5569E"])
I