mangalapi() fixed, now returns $resources