https://github.com/helldivers-2/json
A set of JSON files for developing applications with Helldivers 2
https://github.com/helldivers-2/json
Last synced: 29 days ago
JSON representation
A set of JSON files for developing applications with Helldivers 2
- Host: GitHub
- URL: https://github.com/helldivers-2/json
- Owner: helldivers-2
- License: mit
- Created: 2024-03-24T23:25:11.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2026-02-09T07:10:21.000Z (about 1 month ago)
- Last Synced: 2026-02-09T12:55:25.138Z (about 1 month ago)
- Size: 302 KB
- Stars: 15
- Watchers: 4
- Forks: 12
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# json
A set of JSON files for developing applications with Helldivers 2
### Goals
Provide a set of 'static' information like planets, factions and sectors.
Applications that need this information (because they map from the API etc.)
can pull this data into their application and whenever new data is discovered and added
they can simply update this repository and get the updated information.
### How to use
While you can simply download the JSON files and use them directly
the recommended way is to use submodules.
The reasoning is that it's easy to update the JSON files with 1 command
and not have to manually check for updates.
To add this in your own project use the following command:
```shell
git submodule add https://github.com/helldivers-2/json.git
# Or if you prefer using SSH
git submodule add git@github.com:helldivers-2/json.git
```
To update the submodule simply run (see [docs](https://git-scm.com/book/en/v2/Git-Tools-Submodules#_pulling_in_upstream_changes_from_the_submodule_remote)):
```shell
# Folder is the directory in which your submodule lives
cd
git fetch
git merge origin/master
```
One (_small_) caveat is that when cloning your repository you have to tell Git to pull
the submodules as well. Fortunately, this is easy!
```shell
git clone --recurse-submodules
# Or if you already cloned the repo and forgot to init the submodules:
git submodule update --init
```
### Learn more
You can learn more about submodules on [Git's documentation](https://git-scm.com/book/en/v2/Git-Tools-Submodules).