All Projects → mgp25 → Psn Api

mgp25 / Psn Api

PlayStation Network API in python

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Psn Api

Currency
Handles currency calculations, storage etc
Stars: ✭ 109 (-2.68%)
Mutual labels:  api
Simple token authentication
Simple (but safe) token authentication for Rails apps or API with Devise.
Stars: ✭ 1,474 (+1216.07%)
Mutual labels:  api
Novagram
An Object-Oriented PHP library for Telegram Bots
Stars: ✭ 112 (+0%)
Mutual labels:  api
Grammers
(tele)gramme.rs - use Telegram's API from Rust
Stars: ✭ 109 (-2.68%)
Mutual labels:  api
Laqul
A complete starter kit that allows you create amazing apps that look native thanks to the Quasar Framework. Powered by an API developed in Laravel Framework using the easy GraphQL queries language. And ready to use the Google Firebase features.
Stars: ✭ 110 (-1.79%)
Mutual labels:  api
Next
Directus is a real-time API and App dashboard for managing SQL database content. 🐰
Stars: ✭ 111 (-0.89%)
Mutual labels:  api
Functionscript
An API gateway and framework for turning functions into web services
Stars: ✭ 1,518 (+1255.36%)
Mutual labels:  api
Iextrading4j
IEX Cloud open source API wrapper
Stars: ✭ 112 (+0%)
Mutual labels:  api
Flare
Flare is a service that notify changes of HTTP endpoints
Stars: ✭ 110 (-1.79%)
Mutual labels:  api
Google Play Scraper
Node.js scraper to get data from Google Play
Stars: ✭ 1,606 (+1333.93%)
Mutual labels:  api
Ugin
UGin is an API boilerplate written in Go (Golang) with Gin Framework.
Stars: ✭ 110 (-1.79%)
Mutual labels:  api
Json Serverless
Transform a JSON file into a serverless REST API in AWS cloud
Stars: ✭ 108 (-3.57%)
Mutual labels:  api
Php K8s
PHP K8s is a PHP handler for the Kubernetes Cluster API, helping you handling the individual Kubernetes resources directly from PHP, like viewing, creating, updating or deleting resources.
Stars: ✭ 111 (-0.89%)
Mutual labels:  api
Meta Blocks
A modular toolbox for meta-learning research with a focus on speed and reproducibility.
Stars: ✭ 110 (-1.79%)
Mutual labels:  api
Boilerplate
🍪 ML application template to create API services around your ML code.
Stars: ✭ 112 (+0%)
Mutual labels:  api
Wally
Distributed Stream Processing
Stars: ✭ 1,461 (+1204.46%)
Mutual labels:  api
Dualsense Windows
Windows API for the PS5 DualSense controller
Stars: ✭ 111 (-0.89%)
Mutual labels:  api
Lyrics.ovh
Source of lyrics.ovh and API to search for lyrics of a song
Stars: ✭ 112 (+0%)
Mutual labels:  api
Traduora
Ever® Traduora - Open-Source Translation Management Platform
Stars: ✭ 1,580 (+1310.71%)
Mutual labels:  api
Memo
The memo elastic and resilient key-value store.
Stars: ✭ 111 (-0.89%)
Mutual labels:  api

PSN API

This is a python wrapper for the PSN API.

Read the 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 Paypal: Donate
  • btc 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 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
auth = Auth('YOUR EMAIL', 'YOUR PASSWORD', b7aeb485-xxxx-4ec2-zzzz-0f23bcee5bc5, 'verification_code_you_got_on_your_phone)

tokens = auth.get_tokens()

print(tokens)
  1. Save the refresh and npsso values from the output

  2. From now on you can authenticate (Refresh your tokens) instead of re-authenticating every time.

Like this:

new_token_pair = Auth.GrabNewTokens(refresh_token)

tokens = {
    "oauth": new_token_pair[0],
    "refresh": new_token_pair[1],
    "npsso": npsso # saved above!
}

friend = Friend(tokens)
friend_list = friend.my_friends()

Note: Check obtain_tokens.py

Features

  • Login to PSN
  • Get user information
  • View and manage your friends list
  • Manage and send messages through PSN (This feature does not work at the moment).

TODO

  • View trophies and trophies for a specific game
  • Create, manage and view communities

Legal

This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by PlayStation or any of its affiliates or subsidiaries. This is an independent and unofficial API. Use at your own risk.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].