I have to make a query to the Wigle's API, but I didn't find the API documentation (https://wigle.net/wiki/index.cgi?HomePage).
I have a list of Access Point's SSID and I have to interrogate Wigle in order to know the location of all the SSIDs.
Now I'm able to do this:
http://WiGLE.net/gpsopen/gps/GPSDB/confirmquery?longrange1=12.4952&longrange2=12.5434&latrange1=41.8973&latrange2=41.9136&simple=true
that return all the APs of an area.
If I want to know the location of an SSID without give a bounding box (lat,lon) what kind of query I have to do?
Thank you in advance.
I found this python class https://code.activestate.com/recipes/578637-wigle-wifi-geolocation/ and I solved the problem.
Check out the official WiGLE api at https://api.wigle.net for starters.
There's interactive Swagger documentation at https://api.wigle.net/swagger to help you get started.
Related
I've been working with Google Custom Search API and faced some inconveniences I hope you can help me with.
Google Custom Search API offers as a parameter in its call the possibility to search by an exact text as well as exclude it from results: exactTerms and excludeTerms. However, the q parameter is mandatory and cannot be ignored, so if I want to search only by an specific text I just can't.
So how can I do a query using JSON API that contains specifically the text I want? Does the q parameter work as the search form in Google?
If I want results including 'foo', should I do this:
service.cse().list(cx=const.SEARCH_ENGINE_KEY, q='"foo"').execute()
or this?:
service.cse().list(cx=const.SEARCH_ENGINE_KEY, q=None, exactTerms='foo').execute()
Thank you in advance for your time.
Due to the success on the answers (hehe) I'm posting my own conclusions. Please, if you've any facts regarding the original question, please post it.
I've been testing with some calls to Google CSE API and looks like you can pass to q parameter the same query you'd do in Google's main page textfield. So (at least for my needs), you don't need exactTerms and excludeTerms to get what I was trying to achieve.
Anyway, as I said before, if you know how to work with these parameters I'm sure everybody will thank you.
I would like to filter all devices with certain tag. I'm unable to find right API call.
Could you please help me out?
Thank you
The right answer is
/api/table.json?content=sensors&columns=device,senors,tags, status,message&filter_tags=#tag(tagname)
I´m trying to connect to the API of residentadvisor (http://www.residentadvisor.net/api/dj.asmx?op=getartist).
My goal is, to get all informations of DJs (tracks and labels) and labels (DJs and tracks) and the TOP100, TOP1000 and so on.
Unfortunatelly, there is no good manual for this API. I wrote to residentadvisor and got no answer.
There are some examples given, but I don´t know what are the example values:
<UserID>string</UserID>: Is this my login name?
<AccessKey>string</AccessKey> Is this my personal user password?
<DJID>string</DJID> Where can I find the DJID of a DJ?
<ArtistName>string</ArtistName> Ok, this is just the artist name, right?
<ChartID>string</ChartID>: Where can I find the ChartID?
<Option>string</Option>: What are the options?
<URL>string</URL> Which URL ist this?
Any hints?
Thanks in advance
I just contacted them and they replied within 24 hours: "There are no plans to release our API currently"
(Update: There is now an official app called RA Guide in Google Play and App Store https://ra.co/ra-guide)
I automatically read out the location data from images and want to use this longitude and latitude and set them for the value of a location/map field using PodioKit.
I already tried Google maps URL like
http://maps.google.com/?q=53.550556,9.993333&ll=53.550556,9.993333&z=17
or
https://www.google.com/maps/preview?q=53.550556,9.993333&ll=53.550556,9.993333&z=17
but had bad luck. I'm trying to use PodioKit and the documentation only talks about setting the "string value" of a location/map field. Possibly this question is too specific, but maybe another user found a solution or just a hint to push me into the right direction...
Cheers,
Michael / Hamburg
Sebastian at Podio here. Actually there is API support for submitting a latitude/longitude instead of a string but it is yet to be implemented in PodioKit. It should be very easy to add though, so I will have a look at it as soon as possible. Thanks for pointing this out.
What's method of this site? How are their profile's ID, information retreived ?
Is there any Google API for google+ ?
That is how it started. I entered maybe 30 profiles. The rest was added manually by visitors...
I'm working on an unofficial php api that can pull public profile and relationship data. You could probably use it to do something similar.
Here's the source on GitHub: https://github.com/jmstriegel/php.googleplusapi
Look in tests/plususer.php for an example of how to use it.
You can basically do something like this:
$followees = PlusPerson::FetchVisiblePlusPeople( $googleplus_id );
$followers = PlusPerson::FetchIncomingPlusPeople( $googleplus_id );
...which will give you an array of people a person has in their circles, and an array of people that have circled the person.
The API has now been announced at: http://googlecode.blogspot.com/2011/09/getting-started-on-google-api.html and the official homepage is: http://developers.google.com/+/
Google says there is going to be an API soon. What I suspect they are doing is parsing the public profile page go get the stats.
Got it. I'm taking Ids from search
First ten pages:
http://phpcode.eu/google/