EShop: Difference between revisions
No edit summary |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 133: | Line 133: | ||
The eShop pulls its music from a static, region-specific link in a format similar to the following: | The eShop pulls its music from a static, region-specific link in a format similar to the following: | ||
https:// a248.e.akamai.net/f/248/103046/10m/npdl.c.app.nintendowifi.net/p01/nsa/CtfKXACbUPl8s7lk/BGM1/ | <nowiki>https://a248.e.akamai.net/f/248/103046/10m/npdl.c.app.nintendowifi.net/p01/nsa/CtfKXACbUPl8s7lk/BGM1/<region>_BGM1</nowiki>, | ||
where region is one of the primary system regions (JP, US, EU, KR, etc.) Support also exists for 'BGM2', but this seems to be unused. | where region is one of the primary system regions (JP, US, EU, KR, etc.) Support also exists for 'BGM2', but this seems to be unused. | ||
The music is held in a [[SpotPass|BOSS]] container. | The music is held in a [[SpotPass|BOSS]] container. | ||
Line 205: | Line 205: | ||
! Parameters | ! Parameters | ||
|- | |- | ||
| /samurai/ws/'''region'''/ | | /samurai/ws/'''region'''/contents | ||
| Fetches the | | Fetches the content list, containing basic content information like the content id (not the 3DS title id), the product code and the localized title name | ||
| All of these are optional. | | All of these are optional. | ||
* genre[]: genre ID (unsigned int) | * genre[]: genre ID (unsigned int) | ||
Line 219: | Line 219: | ||
* release_date_before: date/time title must have been released before (UNIX timestamp prefixed by +) | * release_date_before: date/time title must have been released before (UNIX timestamp prefixed by +) | ||
* release_date_after: date/time title must have been released after (UNIX timestamp prefixed by -) | * release_date_after: date/time title must have been released after (UNIX timestamp prefixed by -) | ||
|- | |||
| /samurai/ws/'''region'''/titles | |||
| Same as /contents but only shows software titles | |||
| see /contents | |||
|- | |||
| /samurai/ws/'''region'''/title/'''content id''' | |||
| Returns information about the title, more verbose than /titles. | |||
| (none) | |||
|- | |||
| /samurai/ws/'''region'''/title/'''content id'''/aocs | |||
| Returns a list of add-on contents/downloadable content and prices in eShop region currency. | |||
| (none) | |||
|- | |||
| /samurai/ws/'''region'''/demo/'''content id''' | |||
| Returns information about a demo. Content ID is available in the main game's /title entry. | |||
| (none) | |||
|- | |||
| /samurai/ws/'''region'''/movies | |||
| Same as /contents but only shows movies | |||
| see /contents | |||
|- | |||
| /samurai/ws/'''region'''/movie/'''content id''' | |||
| Returns information about the movie, more verbose than /movies. | |||
| (none) | |||
|- | |- | ||
| /samurai/ws/'''region'''/news | | /samurai/ws/'''region'''/news | ||
Line 227: | Line 251: | ||
| Scrolling news on the top screen | | Scrolling news on the top screen | ||
| shop_id is required | | shop_id is required | ||
|- | |||
| /samurai/ws/'''region'''/directories | |||
| Returns a list of directories available on the regional server with the name, image, id used for the directory api point, etc. | |||
| pattern: Unsure of the purpose, default value is B from what I can tell. | |||
|- | |- | ||
| /samurai/ws/'''region'''/directory/'''(long long unsigned int)''' and /samurai/ws/'''region'''/directory/~'''(string)''' | | /samurai/ws/'''region'''/directory/'''(long long unsigned int)''' and /samurai/ws/'''region'''/directory/~'''(string)''' | ||
| Collections, like sales | | Collections, like sales | ||
| (none) | | (none) | ||
|- | |- | ||
| /samurai/ws/'''region'''/genres | | /samurai/ws/'''region'''/genres | ||
Line 256: | Line 272: | ||
| (none) | | (none) | ||
|- | |- | ||
| /samurai/ws/'''region'''/ | | /samurai/ws/'''region'''/languages | ||
| Returns a list of | | Returns a list of languages available on the regional server with the ISO 639-1 code used for the lang parameter. | ||
| (none) | | (none) | ||
|} | |} |