Update network.py

Added ipranges to the network api call
Added ipranges to networks
fixed typo like a boss
Merge pull request #3 from venkysomes/patch-1

Update network.py