Brack
January 18, 2019, 9:11pm
#1
I need a code for my application: when a psn player go online a littel ball(near the playername)became green while the player go offline the little ball became red
You might need to give a bit more context like the language you are using, the application you’re developing and the goal.
You should also use google as I searched ‘psn api’ and found many responses for language-specific wrapper.
This one is Python that seems to touch the online status that you need:
# PSN API
<img src="http://vignette1.wikia.nocookie.net/logopedia/images/7/7e/PlayStation_Network.png/revision/latest?cb=20110901131500" height="50">
This is a python wrapper for the PSN API.
**Read the [wiki](https://github.com/mgp25/psn-api/wiki)** and previous issues before opening a new one! Maybe your issue is already answered.
**Do you like this project? Support it by donating**
- ![Paypal](https://raw.githubusercontent.com/reek/anti-adblock-killer/gh-pages/images/paypal.png) Paypal: [Donate](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FX7YLU6SX8ZZ6)
- ![btc](https://camo.githubusercontent.com/4bc31b03fc4026aa2f14e09c25c09b81e06d5e71/687474703a2f2f7777772e6d6f6e747265616c626974636f696e2e636f6d2f696d672f66617669636f6e2e69636f) Bitcoin: 1DCEpC9wYXeUGXS58qSsqKzyy7HLTTXNYe
## How to get refresh token
Sony is using reCaptcha now. There is no way to do this authentication via the Script at this time. So we have worked around the authentication issue by doing the following.
1. From the PSN Website or App or Console Enable 2 Step Verification
2. Go to [https://www.bungie.net/en/User/SignIn/Psnid?code=000000](https://www.bungie.net/en/User/SignIn/Psnid?code=000000) Enter your credentials, Solve the reCaptcha, and when you get the `ENTER Verification Code` screen take a look at the URL in your browser. Collect the following ID: `ticket_uuid=b7aeb485-xxxx-4ec2-zzzz-0f23bcee5bc5&layout_type=......` **DO NOT ENTER THE VERIFICATION CODE**
3. From the API
```python
This file has been truncated. show original
Brack
January 19, 2019, 6:56am
#3
I want ro program my app with android studio,i dont know the programm languge of the up
Maybe you want to have a look at some Java Tutorial first and then one on a tutorial on Android Studio.
For Java that is a pretty good one (but it’s written for programmers):
https://docs.oracle.com/javase/tutorial/
zedshaw
January 25, 2019, 6:46pm
#5
Yeahhhh @Brack , it’s going to be a long haul to get something working on Android. I’d suggest using Kotlin with Android studio and learning from there, but it’s going to take a lot of books and a lot of time if you don’t know how to code yet. Do you have a simpler idea you can start with?
If you know Python you can also have a look here:
Brack
January 26, 2019, 8:40am
#7
I want to start creating an login/register application and the user are put in a table when the admin can change the role and the permissions of the player,similar to ESL app(esl are tournaments on the online game )