A crate to return your GPS location using WiFi hotspots.
Warning: this crates is currently broken see issue #6 for details
Inspired by Fractals wifi-location
Full documentation can be found here.
This crate is on crates.io and can be
used by adding wifilocation
to the dependencies in your project's Cargo.toml
.
[dependencies]
wifilocation = "0.3"
and this to your crate root:
extern crate wifilocation;
use wifilocation;
println!("{:?}", wifilocation::get_location(wifilocation::get_towers()));
- 0.3.0 - simplified code after 1.15 stable release and switched from curl to reqwest
see CONTRIBUTING.md
Copyright 2019 Mark Sta Ana.
see LICENSE