Added networkInfo getter in api