wifilocation

Crates.iowifilocation
lib.rswifilocation
version0.3.0
sourcesrc
created_at2016-08-03 19:30:55.455777
updated_at2017-02-22 18:22:16.729664
descriptionGet your GPS location using WiFi hotspots
homepage
repositoryhttps://github.com/booyaa/wifilocation
max_upload_size
id5882
size15,827
Mark Sta Ana (booyaa)

documentation

https://booyaa.github.io/wifilocation/wifilocation/index.html

README

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.

Commit count: 28

cargo fmt