How to get residentadvisor API work? - api

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)

Related

How can I gain permission in HealthKit for writing workout routes?

I'm trying to add map data to my saved runs and bike rides for an Apple Watch app. I'm using CLLocationManager and HKWorkoutRouteBuilder.
Apple seems to have a pretty decent guide on building workout routes here. However, I'm struggling with the sentence in the documentation that says: "Specifically for route data, you must request permission to read and share both HKWorkout and HKWorkoutRoute samples."
Below are my app's current permissions. I know I still need "Workout Routes" to show up as an option, but am struggling to do so. On top of that, I'm not exactly sure if there are other permissions that I would need to obtain as well.
Thank you so much for your help!!
-David
Whelp... this seems to answer my question!
let sampleTypes: Set<HKSampleType> = [
HKSampleType.quantityType(forIdentifier: .heartRate)!,
HKSampleType.quantityType(forIdentifier: .activeEnergyBurned)!,
HKSampleType.quantityType(forIdentifier: .distanceWalkingRunning)!,
HKSampleType.quantityType(forIdentifier: .distanceCycling)!,
HKSeriesType.workoutType(),
HKSeriesType.workoutRoute(),
]
Just had to add the last two lines to the array of sample types. I hope this helps at least one other person!

BIM 360 field API login issues

Frustrating issue with attempting to use REST to login to the BIM 360 Field API, it was suggested that to use the postman application in order to ensure that my code wasn't an issue, however I'm now getting an unauthorized error, this has been attempted with an admin account and a developer account with the same response (login details are definitely valid), I was wandering if anyone has encountered this problem before or has any idea how would go about getting past this, I need to get the ticket response in order to go any further with developing an application for this, I'm already in contact with someone from Autodesk but due to timezone differences responses are difficult!
I've attached a picture to highlight the simplicity of what I'm attempting to do with no joy!
Thanks in advance
Dan
In case somebody else hits the same issue, FYI -
Dan and I looked at this issue, and we learned (in a hard way) that the base URL for BIM 360 Field in European region is:
https://bim360field.eu.autodesk.com
Notice "eu" in the URL. In the U.S., it is https://bim360field.autodesk.com
I wrote a post about this, too, for future reference:
https://fieldofviewblog.wordpress.com/2016/08/18/base-url-for-bim-360-field-in-european-countries/
I also found it worked when I used https but not http although the examples in the help use http.

How to use wigle.net API

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.

Google+ statistics

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/

Apple Appstore name search via the API?

Is it possible to do a search for apps by title via the API? For example, the equivalent of "Return a list of apps (if any) with the word 'dog' in the title".
I've seen two access points that come close, but don't seem to offer this:
The RSS feed; it lists apps, but apparently only groupings like, "top 100..."
The query interface; but it doesn't seem to query over the app media type. (?)
I found the answer. Although not explicitly documented, it's possible to search by app name.
http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html
You're right, it wasn't very clear on that iTunes page at all. The parameter entity=software is the key. For example, here's a search for my app, TypeLink:
http://itunes.apple.com/search?entity=software&term=typelink&callback=myCallbackFunction
If you're wondering what the callback is for, here's some more info on the JSONP format it uses:
http://en.wikipedia.org/wiki/JSONP
For any future person who wants to link to the App Store keyword search result page directly from a web link - this format works as of April 2013:
http://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&submit=media&term=KEYWORD%20GOES%20HERE
Was a PITA to figure out but finally got the syntax right... Needed this because a client has apps made by multiple developers so I couldn't just use the suggested Appstore.com/DeveloperName link to return all their apps.
Thanks all for sharing wisdom. Hope this helps someone.