Control Tailscale's local socket API
Project description
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for tailscale_localapi-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e3e1c4a2f9b0c05cc56dd22bf30eff3aae967825dfd8eecf17d9cf56709aafa |
|
MD5 | 12991ff2b4d92c2d6c6c90243056b7e2 |
|
BLAKE2b-256 | 6ff4ed3ec19e7d92a13fee6ac81adc21f8cae3b12f77e7ed14b1a9dc30f62099 |