Update fred/api.py

children method fix
Merge pull request #3 from dmitri123/master

children method fix