File: README.md

package info (click to toggle)
python-mullvad-api 1.0.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 56 kB
  • sloc: python: 38; makefile: 3
file content (21 lines) | stat: -rw-r--r-- 406 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# MullvadAPI

Python wrapper around Mullvad api

## Installation

```bash
pip install mullvad_api
```

## QuickStart

```python
>>> from mullvad_api import MullvadAPI
>>> mullvad = MullvadAPI()
>>> mullvad.data.keys()             # List Mullvad API keys
>>> mullvad.data["mullvad_exit_ip"] # Check if Mullvad VPN is active
True
>>> mullvad.data["ip"]              # Check exit ip address
'89.46.62.92'
```