Is there a way to get the user name set for siri? - objective-c

I need to get the name of the user of an iPhone, but the only related things to get data from the device related to the user is using the UIDevice Class, but all I can get is the device name.
Anybody know how I can get the user's name without asking to them?

There is no Siri API today.
See this for more info: http://www.quora.com/Siri-API/Does-Siri-have-APIs-that-can-be-used-today

Related

How to get registration_ids from device group?

https://firebase.google.com/docs/cloud-messaging/android/device-group#managing_device_groups
At this point, it is proposed to create a device group by passing registration_ids there. Is it possible to get a list of devices in a group through the API, knowing the group ID and having admin access to the project?
From reading that documentation it seems there is no API to get the registration IDs for a device group. If you need this functionality, you'll need to maintain an (additional) mapping for it yourself.

Hangouts Chat API - No Display Name for Room

It is evident from the documentation that a space will have a displayName only if it is of type ROOM.
Reference: https://developers.google.com/hangouts/chat/reference/rest/v1/spaces#Space
However sometimes I receive the addedToSpace event request from hangouts chat without a displayName in the space object, even if the space type is a ROOM.
Is that in any way possible? Please help me out !
Found the Answer guys. If the room is a group, then there will be no display name for the same. Hence no display name is available. However, the group members are not sent via the request. Anyways, Thank you all for your help.

How do I extract user details for Bloomberg Desktop API connection?

If you type IAM <GO> in the terminal you'll be shown the UserID, UUID, CLID etc.
Is it possible to extract this information through blpapi when using the Desktop API to connect via BBComm? I've seen references to Identity and populating that by sending an AuthorizationRequest but it appears that's only relevant for SAPI/B-PIPE.
To the best of my knowledge and after asking a couple of Bloomberg reps - this isn't possible. The best work around which I've found is: each user creates an EQS screen called their UUID. Add some filtering which causes this screening to return nothing. Then the application, upon start up, requests all possible UUIDs as EQS screens and stops when it doesn't get back an error - that's the UUID.
This is a dirty, dirty hack and, granted, this only works if you have few distinct users using your system. You don't want to ask may users to create such a screen and probably don't want to iterate over thousands of EQS screen names.
There is a "SID report" which is provide together with monthly invoices from Bloomberg which contains the UUIDs for users - this can be used to look up existing users but when setting up a brand new account you have to manually copy this information out of the terminal.

Deezer API - Get user's currently playing track

Is there any way to know the state of a track using the deezer api.
"playing" or "not playing" ?
I can't find anything in the docs... I'd like to know the currently playing track for each user of my app... Or at least the last played track.
I assume there might be some privacy issues... any thought?
We don't have a 'now playing' status but you can use the User/History fields:
GET https://api.deezer.com/user/1494543/history
That will give you the full paginated listening history of a given user, updated almost realtime (allow 1 or 2 minutes sometimes). The first result is the last song listened.
Regarding privacy, you'll need to ask the 'listening_history' permission at login.

Display venue public photo on iOS app

My apologies if I'm not using the most technical terms in my question as I am asking on behalf of a development team who is creating an app for me, but we are having trouble making a call to the Foursquare API to get public photos (at least one) of specific venues.
Until now they have only been able to get low resolution photos and are telling me we need to be authenticated but I'm not sure they are explaining what they need to me correctly.
I have searched for hours and have not been able to understand how we would be able to obtain at least one photo for a given venue. The closest I have come to is getting a list of photos for a venue using the example query: https://api.foursquare.com/v2/venues/43695300f964a5208c291fe3/photos?oauth_token=...TOKEN...&v=20130529
This involves the OAuth_Token and I had understood we didn't need this to get an image of a venue using the API.
Once again, apologies if I'm using any terms incorrectly as I am not a programmer myself. Thanks.
That call to venues/VENUE_ID/photos is indeed a way to solve your problem: you can do that to get public photos for specific venues, where the specific venue is identified by VENUE_ID. You don't need an OAuth token; instead, you can simply pass in client_id and client_secret parameters. Examine the URL pattern we document under "Userless access" here: https://developer.foursquare.com/overview/auth#userless
Once you have these responses, you need to construct a photo URL, and this is where you can specify the desired size. For each photo response, you take prefix + size + suffix to construct a full URL. For an example, see https://developer.foursquare.com/docs/responses/photo