wifilocation
A crate to return your GPS location using WiFi hotspots.
Inspired by Fractals wifi-location (http://j.gs/CByn)
Full documentation can be found here.
Usage
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;
Example
use wifilocation;
println!("{:?}", wifilocation::get_location(wifilocation::get_towers()));
Changelog
- 0.3.0 - simplified code after 1.15 stable release and switched from curl to reqwest
Copyright
Copyright 2016 Mark Sta Ana.
Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or http://j.gs/CByq at your option. This file may not be copied, modified, or distributed except according to those terms.
Commentaires
Enregistrer un commentaire