wifilocation 0.3.0

Get your GPS location using WiFi hotspots
Documentation

wifilocation

Build Status

A crate to return your GPS location using WiFi hotspots.

Inspired by Fractals wifi-location (https://github.com/contra/wifi-location)

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://www.apache.org/licenses/LICENSE-2.0> at your option. This file may not be copied, modified, or distributed except according to those terms.