Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jhermsmeier/node-apple-location-services
Apple Location Services
https://github.com/jhermsmeier/node-apple-location-services
apple geolocation location location-services wifi
Last synced: 19 days ago
JSON representation
Apple Location Services
- Host: GitHub
- URL: https://github.com/jhermsmeier/node-apple-location-services
- Owner: jhermsmeier
- License: mit
- Created: 2017-05-24T10:58:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-01T11:12:37.000Z (over 3 years ago)
- Last Synced: 2024-10-11T07:34:11.235Z (about 1 month ago)
- Topics: apple, geolocation, location, location-services, wifi
- Language: JavaScript
- Size: 15.6 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Apple Location Services
[![npm](https://img.shields.io/npm/v/apple-location-services.svg?style=flat-square)](https://npmjs.com/package/apple-location-services)
[![npm license](https://img.shields.io/npm/l/apple-location-services.svg?style=flat-square)](https://npmjs.com/package/apple-location-services)
[![npm downloads](https://img.shields.io/npm/dm/apple-location-services.svg?style=flat-square)](https://npmjs.com/package/apple-location-services)
[![build status](https://img.shields.io/travis/jhermsmeier/node-apple-location-services/master.svg?style=flat-square)](https://travis-ci.org/jhermsmeier/node-apple-location-services)## Install via [npm](https://npmjs.com)
```sh
$ npm install --save apple-location-services
```## Related modules
- [jhermsmeier](https://github.com/jhermsmeier) / [wifi-network](https://github.com/jhermsmeier/node-wifi-network)
to get a list of detected wifi networks and signal data## Usage
```js
var LocationServices = require( 'apple-location-services' )
```## Example
```
$ node example/locate.js
``````
Scanning for WiFi networks...
Detected 20 networks
Querying Apple Location Services...
Received 113 results
Filtered out 11 networks without location data
Filtered out 98 undetected networks
Generated trilateration matrix:[ [ 1341663988, 5249087264, 4321101938.317972 ],
[ 1341674818, 5249084620, 2262340095.8832603 ],
[ 1341665645, 5249086654, 1789211062.113776 ],
[ 1341636641, 5249097645, 5694164319.598579 ] ]Position (lat, lon): [ 52.49086179333333, 13.416681503333333 ]
```## References
- [Reverse Engineering Apple Location Services](https://appelsiini.net/2017/reverse-engineering-location-services/)