Google Play Services Leaderboards for cross platform games - google-play-services

I am working at iOS & android games, and I want to implement a leaderboard system.
What I need to do is add and get scores, exactly what google play services leaderboard does.
The question that I have, is it possible to use the REST api for this purpose and using in the game only with HTTP Requests?
Ex: I want to add a score, I do a POST HTTP Request to some google api url, etc.
In the documentation i found this
https://developers.google.com/games/services/web/clientsetup
TL;DR
Can I use the google play services Rest API only with HTTP Requests, from a cross platform mobile game?
Thanks.

Related

How to obtain list of Music Sources from the Sonos household?

I am trying to get a list of music services to which the Sonos household has a subscription. Is it possible to obtain such information from HTTP API or from any other source? If yes, then under what conditions?
I have analyzed the traffic between the Sonos Connect and Windows Sonos Controller. I discover, that information about music services is transmitted from Connect to Controller inside the ThirdPartyMediaServersX tag of the NOTIFY HTTP request. But this content is encoded in the base64-like cipher.
<e:propertyset xmlns:e="urn:schemas-upnp-org:event-1-0">
<e:property>
<ThirdPartyMediaServersX>
2:oZoYgaU5pqEq6IauQ1hYVS0oCUJnqbCkJL1vXP/DoeijejEwUBQT8UG0CksUG9VcarvLhCyElhKTUjfhQt0SAcV2oBOyLJ5BCmjd7TcJfPrVuTGHczd5/AS2tgj85n0U9yU9EwwHROFb5uV09syZNLVaZuJnENCWRKatIq1SNMm1SE4tHneLG6ULQoDOR50nf7TwyRQbkit8Bvy+kZyNPlrgBZFGmizoRmYjW8COFvHJpZhREEGruhQ2J6A8gnQOWyFzstAyHNZeLqp2xcNGnts6f2DQ56r/ducstbibFH0SZOZC0XM/BB4DvOT8UalezPL0R9/s8Jibm5T6mS1FWk14GWg2RMmRBIVE5G/gG2c=
</ThirdPartyMediaServersX>
</e:property>
</e:propertyset>
I expect to obtain list of music services, but the actual list were hidden.
As you figured out, Sonos disabled this functionality some time ago.
I've spend a lot of time figuring out how it works, and I now have a "work-a-round". External music services describes what to do.
And sonos-ts has support for external music services. If you read my first link and check the code in this library you should probably be able to figure out how to do that in your programming language.
I know this is no access to the list that is kept by Sonos, but this work-a-round also saves the tokens on the device for every client application to use.
Recently I've found someone who build an music service emulator. So that are both sides of external music services.
This is not supported by the Sonos API.

Need Whatsapp api for sending messages from my PHP project

i want to know if there is any whatsapp api that can help me to send messages from my php project because after some research i found that whatsapp doesn't have any api for developers..
someone can help me please?
I used Google :
A quick google search with the proceeding query : "WhatsApp PHP API" gives us many results , the first result is a github page made by mgp25 a well known member of the github dev community.
Good luck!
You are absolutely right that whatsapp does not published the api for the such chatting using php .
By the way you can use the sharing uri to share text messages who have whats appp installed in their device or web chat option for whatsapp
Chat API: https://api.whatsapp.com/send?phone=15551234567
Custom URL: Scheme whatsapp://send?text=hello world
First one is used to open chat with the desired phone number and the second one is used to share some test as custom url format.
Whatsapp is now maintain by facebook and it has created a api for business to communicate with customers .
This it has launched api for whatsapp as well as for Facebook instagram .
You can have a look on the documentation portal for whatsapp api for more details
https://developers.facebook.com/docs/whatsapp/api/reference
Also there are partners of Facebook who give ready made solution to the productivity.

Spotify Web API to control playback on connect devices

Is there any way to use an API to control playback on my registered spotify connect devices? I'm not trying to create or add a new connect devices but control playback to them.
Is there any official or reverse engineering discussion on how to do this?
As far as I can tell, there is no way to do this currently.
That said, it's also unclear if or when this feature will be added. Spotify hasn't updated its api code in months. It also appears that the login functionality is broken on my app too. Spotify doesn't seem to be easy to work with.

Simplest way for getting my own playlists from Spotify API?

What I want to accomplish:
Display all my Spotify playlist on my website and let my visitors play the songs.
From what I've understood, I need to use the Spotify Web API to accomplish that, so I registered an app and received a Client Id and a Client Secret.
All the examples I've seen on https://developer.spotify.com/web-api/code-examples/ are pretty advanced for a newbie like myself and they all seem to require stuff like node.js or Composer etc. which I can't install since I'm on a shared hosting service.
What's the easiest way to show my playlists on my website?
Thanks!
Ensure all your playlists are publicly available (users other than you can't read your private playlists) and call the following endpoint — everything you need to know is documented:
https://developer.spotify.com/web-api/get-list-users-playlists/

What can we do with UCWA API (Lync)? and What can we not do with UCWA API?

Please explain what are features available in UCWA API (Lync)? I'm interested in the following:
Screen Sharing?
Video Chatting?
Voice Chatting?
Send a file?
I want to access UCWA API in android code, is it possible?
As per the About link of UCWA, API helps you to do the following things,
-Anonymous Web Chat.
-Support audio conferencing
-Light up IM & Presence in your Line-Of-Business app, including Windows 8, iPad, and others
-Inline Instant Messaging into your application (Contextual Communications)
-Search for Skype and/or business contacts
-Better together with UCMA Customer Care family of apps
Also you can refer this site UCWA Capabilities
A good wealth of information surrounding UCWA is available at http://ucwa.lync.com paying specific attention to the Documentation menu. A good rundown of features can be found at Core-Features which do not currently (CU3+) include screen sharing, video, voice, data collaboration (sending a file).
It is possible to place a audio call using a feature named Call-Via-Work which requires the user provide a callback number that Lync will use to connect you with the remote party, but it is not exactly the same as an audio call between two parties.
I want to access UCWA API in android code, is it possible?
There are sample libraries available (UCWA Helper Libraries) in JavaScript, but it is quite possible to use the libraries to construct code to run on an Android platform (Java, etc).