Geodesk doesn’t index by ID so this isn’t a straightforward lookup.
A workaround I’ve used in Geodesk for Python is next(f for f in my_features.ways if f.id == 123)
. This will iterate over my_features until it finds a way with ID 123.
Tagging @GeoDeskTeam in case they have anything to add.