Skip to content

DannyTheHeretic/mullvad_cli_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple Python Based Mullvad Interface.


Using commandline utils for interacting and using vpn

How to use?


from mullvad import MullvadCLI, AccountNotFound

connector = MullvadCLI()
###
try:
    connector.account_info()
except AccountNotFound:
    ### This means you aren't signed in
    connector.login(<Token>)

connector.connect() # Initialize the connection, will raise the AccountNotFound if you are not logged in.
connector.status() # Updates the status, it can report the wrong information if you call to soon after disconnecting/connecting
connector.disconnect() # Deconnect from the relay

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages