> For the complete documentation index, see [llms.txt](https://pmsgz.gitbook.io/nectar/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pmsgz.gitbook.io/nectar/advanced/web-apis/network-information.md).

# Network Information API

## Overview

Network Information API allows web apps to access information about the network connection in use by the device.

This can be used to serve high definition content or low definition content based on the network connection.

## Demo

<https://nectar.website/demo/web-apis/network-information/>

## Usage

You can refer to the code present in `/partials/web-apis/network-information.html` file and use it accordingly.

## Reference

<https://developer.mozilla.org/en-US/docs/Web/API/Network_Information_API>
