Page 1 of 1

New WIGLE API JSON PHP

Posted: Tue Nov 19, 2013 12:36 pm
by jackpeloru
WigleAPI-JSON
=============
https://github.com/jacksmartv/WigleAPI-JSON

WigleAPI-JSON in PHP with JSON Response

Installation
------------
1. Clone repo
2. add folder to web root dir of your web server
3. and call this URL to view the test GUI "http://your_domain/wigleAPI"

Use
------------

The wigleAPI.php is the Core class API.
you can request this API directly by POST or GET
with AJAX or CURL and get the response in
JSON or ARRAY format

**wigleAPI.php entry point of API**

Methods
-------
**Login**

- login (string) = login
- user (string) = your_user_name_wigle
- pass (string) = your_pass_wigle

**Example login by GET Request**(unsecure but available)

http://your_domain/wigleAPI.php?login=login&user=your_user&pass=your_pass

**Logout**

- login (string) = logout

**Example logout by GET Request**(unsecure but available)

http://your_domain/wigleAPI.php?login=logout

**Search by Range**

- longrange1 (string) = Minimum longitude for square of area being queried. -89.54321
- latrange1 (string) = Minimum latitude for square of area being queried. 41.12345
- longrange2 (string) = Maximum longitude for square of area being queried. -89.12345
- latrange2 (string) = Maximum latitude for square of area being queried. 41.54321
- typeSearch (string) = { mac or range }
- responseType (string) = { json or array }

**Search by MAC Address**

- netid (string) = MAC Address
- typeSearch (string) = { mac or range }
- responseType (string) = { json or array }

**Example Search by MAC Address by GET Request**(unsecure but available)

http://your_domain/wigleAPI.php?netid=0A:2C:EF:3D:25:1B&typeSearch=mac&responseType=json


**Display Results**

- [ jackpelorus.com.ar See in Action !!! ] (http://jackpelorus.com.ar/wigleAPI)


Test GUI integrated
-------------------

**http://your_domain/wigleAPI**

Re: New WIGLE API JSON PHP

Posted: Wed Dec 04, 2013 5:25 am
by clarieliu
Oh Thank you very much! I am almost starting to write it myself and this really saves a lot of time! :D

Re: New WIGLE API JSON PHP

Posted: Thu Nov 17, 2016 11:50 pm
by KEMBL
Are jsonSearch type requests still supported?

According to this page https://wigle.net/wiki/index.cgi?API there is no more such type of request, so this will return nothing

https://wigle.net/api/v1/jsonSearch?fir ... uery=Query

Re: New WIGLE API JSON PHP

Posted: Sat Nov 19, 2016 3:17 am
by bobzilla
There is a new version of an api underpinning the website, you can look at what your browser is doing to see it in action. We'll hopefully publish docs about it once we've got it nailed down.