Get bonds using matminer or pymatgen

I know we can get average bond lengths and angles but how can I get a list of bonds to iterate over using matminer (or pymatgen) if I have pymatgen structures?

I should clarify that I want to respect the oxidation state while generating bonds so while I can use the get_neighbors method for a structure, it will only give me neighbors based on the distance.