SEN Store: Difference between revisions

From Vita Developer wiki
Jump to navigation Jump to search
(Created page with "== PSN JSON Parser for PC == This simple script parse the online store json to an readable text. The json is here: (you need to connect to store.sonyentertainmentnetwork.com,...")
 
No edit summary
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Software]]<noinclude>[[Category:Main]]</noinclude>
== PSN JSON Parser for PC ==
== PSN JSON Parser for PC ==
This simple script parse the online store json to an readable text.
This simple script, ps_store_json.sh, parse the online store [http://www.psdevwiki.com/ps4/JSON_files json] 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 PKG 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/641ee63f947e48194b932e86f2d8355a577ef90f/ps_store_json.sh ps_store_json.sh]
 
You can give execute permission to it:
 
<pre>chmod +x ps_store_json.sh</pre>


* [https://gist.githubusercontent.com/wargio/24af527aaa53a8781438/raw/57d7e090f22ea41b8ceecc8be8d398ec0480efc8/ps_store_json.sh ps_store_json.sh]
<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'
       Save the page 'https://store.sonyentertainmentnetwork.com/kamaji/api/chihiro/00_09_000/gateway/store/v1/users/me/internal_entitlements?fields=drm_def'
       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
       Give the page to this script './ps_store_json.sh internal_entitlements.json
       it will return something like:
       it will return something like:
Line 15: Line 22:
       ContentID:        UP0001-000000000_00-0000000000000000
       ContentID:        UP0001-000000000_00-0000000000000000
       Content Name:    Game Name
       Content Name:    Game Name
       Content Size:    XXX Mb
       Content Size:    XXX Mb  
       Content URL:      http://zeus.dl.playstation.net/cdn/xxxxxx/000000000_00/yyyy...yyyyyyy.pkg
       Content URL:      http://zeus.dl.playstation.net/cdn/xxxxxx/000000000_00/yyyy...yyyyyyy.pkg
       drmContentType:  n
       drmContentType:  n
Line 21: Line 28:
       Publisher Name:  Game Publisher
       Publisher Name:  Game Publisher
       Title Name:      Game Name Demo
       Title Name:      Game Name Demo
       Img URL:          https://image.api.np.km.playstation.net/images/......
       Img URL:          https://image.api.np.km.playstation.net/images/......png
</pre>
</pre>
== Login process ==
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>.

Latest revision as of 20:31, 12 December 2021


PSN JSON Parser for PC[edit | edit source]

This simple script, ps_store_json.sh, parse the online store json 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).

You can give execute permission to it:

chmod +x ps_store_json.sh

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

Login process[edit | edit source]

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)

.