forked from unixpickle/PSN-Access
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
13 lines (8 loc) · 824 Bytes
/
README
File metadata and controls
13 lines (8 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
This is a simple set of functions for accessing your PlayStation Network account. You provide the PSNLogin() function with your username and password, and it tells you if your login succeeded. If so, you can get your friends list, and get the current game of anybody on your friends list. In future additions I am going to add:
* The ability to check if your friends are "online"
Instructions
1) Put #import "PSNAccess.h" to import the code.
2) use this code to login: PSNLogin(@"username", @"password")
3) get your friends list as follows: NSArray * friends = friendsList(fetchFriendList());
4) get your friends current game like so: NSString * game = friendGame(friendInfo(friend))
With these easy function calls, what you are waiting for? Instant access to your friends PS3 usage is just a few characters away!