Android - Get user games data (games played, achievements unlocked...) - android

Basically, what I am trying to do is to get the user's data from all the games that he played, as 'Play Games' app do. I want to know the user's games played, achievements and so on.
I have tried the Google Sing in but it requires a game from my Google Developer Console to get data from.
All the information I found around the internet are for your own game, at this point I am wondering if it is even possible to achieve what I am trying to do.
After hours searching, I decide to ask for help here.
Thank you in advance for all.

Related

Achievements not showing in Google Play Games

I'm working on a Unity game and am using the Google Play Games Services, specifically the Leaderboards and the Achievements.
I'm using the play-games-plugin-for-unity: https://github.com/playgameservices/play-games-plugin-for-unity
Currently my game is published as beta test.
While the achievements do seem to work, as in, they can be unlocked, and the popup appears correctly and I can see my progress from within the game.
But I don't receive and experience points for them.
And when I look at my game in the Play Games App, there's no info about any achievements, as if there are none.
So it's basically the same problem as this: Achievements not showing in Google Play Games App
Except in his case he had a OAuth2 Client IDs mismatch, but mine seem to be correct.
I was wondering if it's maybe just because my game hasn't been made public yet? (as it's still in Beta)
Edit: I've released it publicly now, and the achievements are still not showing, so that's definately not the cause.
Any help much appreciated.

Google play/ Game Centre access friends stats on games

Hi i would like to know if its possible to access via API on google play or Game Centre your friends list to see they're stats and achievements on a game you play together.
I would like to build a app that compares (like challenges) progress on a game played by two friends.
Thanks in advance.
You may want to check Play Services for Android, especially social leaderboards, which is made up of people in the user's circle. You may also want to check out Adding Player Stats to Your Android Game which contains the player's in-game activity, but I think this deals with all players in a game instead of just the friend list.

How to make Android Multiplayer Games using Facebook friends? (Google Play Game Services uses G+ only)

At the risk of this question being marked 'research' or 'too broad', I am placing this question here with the research I have done so far (to count as background work), especially since I have been researching this for a while but have not found a good turnkey solution. thank you for your inputs!
I want to make Turn Based Multiplayer Game. I found Google Play Game Services but that only works with Google+ Login: https://developers.google.com/games/services/android/turnbasedMultiplayer
How do I do the same with Facebook login? Can Google Play Game Services be used with Facebook friends?
In my research, the other option I found is nextpeer.com, but not sure if they can do a turn by turn based. I think i have to send player to player messages directly to achieve the turn based player, dont want to do that.
EDIT: After I posted the question, i found Android Games Tutorial with Facebook SDK - trying to understand if turn based game can be done using Facebook SDK.
Can it?
Disclaimer: I am a Nextpeer employee.
Hi,
Nextpeer does not offer a turn based solution at the moment. However, we do have an asynchronous gaming mode in our Facebook matches mode. In this mode players can either play synchronously together or asynchronously. In the second case, a player can play and the recording of his gameplay will be played to his opponents when they choose to play. Does this answer your need?
I'll be glad to discuss further privately, just email us at support#nextpeer.com and ask to talk to Dror.
I have been looking for a solution on similar lines aswell, and I guess we have a solution that can be helpful for others as well. Just looking forward to integrate it. You can find the required documentation here

What information API is out there for video game data using thegamesdb for Android Application?

I want to create a small application in android that just lists upcoming games with their release dates. Ideally this will provide a thumbnail of sorts that when clicked will take the user to that games in android. If application is installed then linked otherwise connect with store for install that game. I want to use thegamesdb.net, I have to sample code.
I am getting game list and details but I want to play that games which is in games list.
please help me How can I achieved it in Android.
reference link is http://thegamesdb.net/
Thanks in advance

How to get leader board and achievement information in Google Play Game Service

I'm programming a simple game to learn Google Play Game Service. After playing the game, the user will get a score. I want to get information about old high scores (to compare with recent score), or whether I get new high rank in my circle or not, or what achievement I unlocked. So, please help me how to get this information.
You can download achievement information as in this answer.
I believe that a similar way can be used to obtain leaderboard data with getGamesClient().loadLeaderboardMetadata()
AFAIK Google Play Game Services is not intended to work like this. The basic idea is that you submit achievements and scores to GPGS and it then does the rest. The user gets the information he/she is interested in by looking at the relevant achievement/leaderboard. If you really need to track and display all this information in your app then maybe you should implement your own system instead of using GPGS?
One important design consideration with GPGS is to avoid unnecessary API calls from your app (presumably because this costs Google money). If you were to query leaderboards and achievements in your app (say every second or minute) then the number of API calls each time your game was played could easily increase from a handful to hundreds or even thousands per play.
To get a better understanding of how Google would like you to use Google Play Game Services I recommend that you read the documentation and watch this recent video made by the GPGS team
:
Top 7 Google Play game services setup mistakes — Google Developers
https://developers.google.com/live/shows/5936979195723776

Categories

Resources