Skip to content

apognu/tailscale-localapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tailscale Local API

This library can be used to control and get information from Tailscaled's local socket API.

It is not a Tailscale SaaS API library.

Usage

ts = TailscaleAPI.v0()

ts.connect()
ts.set_exit_node("hostname")

peer1 = ts.peer("hostname")
print(peer1.ip_address)

for peer in ts.peers():
  print(peer.ip_address)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages