Sign inSign up

whatdaybob/xboxgamespasslists

By whatdaybob

Updated almost 6 years ago

A simple server that will update current game pass lists and serve them.

Image
0

1.6K

whatdaybob/xboxgamespasslists repository overview

whatdaybob/xboxgamespasslists

A simple server that will update current game pass lists and serve them.

Usage

Docker
docker create \
  --name=xboxgamespasslists \
  -e MARKET=gb \
  -e LANG=en-gb \
  -e PORT=8754 \
  -p 8754:8754 \
  --restart unless-stopped \
  whatdaybob/xboxgamespasslists:latest
Docker Compose
version: '3.4'
services:
  xboxgamespasslists:
    container_name: xboxgamespasslists
    image: whatdaybob/xboxgamespasslists:latest
    environment: [
      "MARKET=gb",
      "LANG=en-gb",
      "PORT=8754"
    ]
    restart: unless-stopped
    ports: ['8754:8754']
ParameterFunction
-e MARKET=gbSets the market that titles and information will be gathered from (default gb)
-e LANG=en-gbSets the language that titles and information will be gathered in (default en-gb)
-e PORT=8754Sets the port to listen on (default 8754)
Endpoints

Once up and running this container will serve the following endpoints.

EndpointFunction
/health check and endpoint information
/consoleserves a list of current console games
/pcserves a list of current pc games
/cloudserves a list of current xCloud games

As the lists will need updating the console, pc and cloud endpoints can have ?refresh=true sent to them. This will update the lists. It is recommended to run this once a day to ensure the games pass added date is correct. I have date overrides in place for known games.

If you want to update these lists you can mount them and update them. The names and locations are below. Change [Platform] to cloud, console or pc.

FilePurpose
\xbgp_[Platform].jsonThe full list that is produced, overwritten every refresh
\xbgp_[Platform]_date_overrides.jsonA lookup list that will manually set the added date
\xbgp_[Platform]_date_check.jsonIf no manual date is available these are the dates created on refresh

When I update the container I will update these lists to the best of my ability but if you want to keep changes and help others out please create a pull request on github with the latest changes to the xbgp_[Platform]_date_overrides.json you have made. I will try tag these by date so you can keep your own list but :latest will overwrite them so it's recommended to back them up when updating.

If I helped in anyway and you would like to help me, consider donating a lovely beverage with the below.

Buy Me A Coffee

Tag summary

Content type

Image

Digest

Size

75.7 MB

Last updated

almost 6 years ago

docker pull whatdaybob/xboxgamespasslists