Prudence Sekgodiso became the first South African woman to win a medal at world indoor championships as she won the 800m in Nanjing, China, on Sunday.