SEN Store: Difference between revisions

From Vita Developer wiki
Jump to navigation Jump to search
No edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== PSN JSON Parser for PC ==
[[Category:Software]]<noinclude>[[Category:Main]]</noinclude>
This simple script, ps_store_json.sh, parse the online store [http://www.psdevwiki.com/ps4/JSON_files json] to an readable text.
 
== Login process ==
 
To be documented.
 
User Agents are <pre>PSP2Community-agent/1.0.0 libhttp/3.73 (PS Vita)</pre>, <pre>PSP2Activity-agent/1.0.0 libhttp/3.73 (PS Vita)</pre> and <pre>libhttp/3.73 (PS Vita)</pre>.
 
== Outdated PS Store Entitlements JSON Parser Script for PC ==
 
Note: the PS Store Entitlements List format may have changed and is anyway not available anymore on the kamaji/chihiro link presented in this section.
 
This simple script, ps_store_json.sh, parse the online store Entitlements [http://www.psdevwiki.com/ps4/JSON_files JSON files] to an readable text.
 
The json is here: (you need to connect to store.sonyentertainmentnetwork.com, to see the data)
The json is here: (you need to connect to store.sonyentertainmentnetwork.com, to see the data)
<pre>https://store.sonyentertainmentnetwork.com/kamaji/api/chihiro/00_09_000/gateway/store/v1/users/me/internal_entitlements?fields=drm_def</pre>
<pre>https://store.sonyentertainmentnetwork.com/kamaji/api/chihiro/00_09_000/gateway/store/v1/users/me/internal_entitlements?fields=game_meta,drm_def,drm_def.content_type</pre>
 
This can be useful to grab the free pkg to use with the [[NPXS10031|★Package Installer (NPXS10031)]].
This can be useful to grab the free pkg to use with the [[NPXS10031|★Package Installer (NPXS10031)]].
* [https://gist.githubusercontent.com/wargio/24af527aaa53a8781438/raw/57d7e090f22ea41b8ceecc8be8d398ec0480efc8/ps_store_json.sh ps_store_json.sh]


You can give execute permission to it:
* [https://gist.githubusercontent.com/wargio/24af527aaa53a8781438/raw/641ee63f947e48194b932e86f2d8355a577ef90f/ps_store_json.sh ps_store_json.sh]
 
<pre>chmod +x ps_store_son.sh</pre>


<pre>
<pre>
Usage: ./ps_store_json.sh <internal_entitlements.json>
Usage: ./ps_store_json.sh <internal_entitlements.json>
       Login into 'https://store.sonyentertainmentnetwork.com'
       Login into 'https://store.sonyentertainmentnetwork.com'

Latest revision as of 22:25, 23 December 2024


Login process[edit | edit source]

To be documented.

User Agents are

PSP2Community-agent/1.0.0 libhttp/3.73 (PS Vita)

,

PSP2Activity-agent/1.0.0 libhttp/3.73 (PS Vita)

and

libhttp/3.73 (PS Vita)

.

Outdated PS Store Entitlements JSON Parser Script for PC[edit | edit source]

Note: the PS Store Entitlements List format may have changed and is anyway not available anymore on the kamaji/chihiro link presented in this section.

This simple script, ps_store_json.sh, parse the online store Entitlements JSON files to an readable text.

The json is here: (you need to connect to store.sonyentertainmentnetwork.com, to see the data)

https://store.sonyentertainmentnetwork.com/kamaji/api/chihiro/00_09_000/gateway/store/v1/users/me/internal_entitlements?fields=game_meta,drm_def,drm_def.content_type

This can be useful to grab the free pkg to use with the ★Package Installer (NPXS10031).

Usage: ./ps_store_json.sh <internal_entitlements.json>
       Login into 'https://store.sonyentertainmentnetwork.com'
       Save the page 'https://store.sonyentertainmentnetwork.com/kamaji/api/chihiro/00_09_000/gateway/store/v1/users/me/internal_entitlements?fields=game_meta,drm_def,drm_def.content_type'
       Give the page to this script './ps_store_json.sh internal_entitlements.json
       it will return something like:

       ContentID:        UP0001-000000000_00-0000000000000000
       Content Name:     Game Name
       Content Size:     XXX Mb 
       Content URL:      http://zeus.dl.playstation.net/cdn/xxxxxx/000000000_00/yyyy...yyyyyyy.pkg
       drmContentType:   n
       drmType:          m
       Publisher Name:   Game Publisher
       Title Name:       Game Name Demo
       Img URL:          https://image.api.np.km.playstation.net/images/......png