I have been reading the documentation on OSMnx and I am trying to use the command osmnx.shortest_path(G, orig, dest, weight = "length") on a graph of a city. I know which nodes I want to define as "orig" and "dest", but I can't figure out how to get their IDs.
I saw on the example given on the example repo of osmnx that list(g)[index] is used but I do not understand how to get the index I want for a given node.