Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

API is now on version 6. Version 5 is no longer being updated. #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions refreshEDDB
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ dataDir=${EDDP_API_DATA_DIR:-"./data"}

# Fetch the data that we need to recreate the databases
mkdir -p "${dataDir}/eddb"
curl -s -o "${dataDir}/eddb/systems.csv" https://eddb.io/archive/v5/systems.csv
curl -s -o "${dataDir}/eddb/stations.jsonl" https://eddb.io/archive/v5/stations.jsonl
curl -s -o "${dataDir}/eddb/bodies.jsonl" https://eddb.io/archive/v5/bodies.jsonl
curl -s -o "${dataDir}/eddb/commodities.json" https://eddb.io/archive/v5/commodities.json
curl -s -o "${dataDir}/eddb/listings.csv" https://eddb.io/archive/v5/listings.csv
curl -s -o "${dataDir}/eddb/factions.csv" https://eddb.io/archive/v5/factions.csv
curl -s -o "${dataDir}/eddb/modules.json" https://eddb.io/archive/v5/modules.json
curl -s -o "${dataDir}/eddb/systems.csv" https://eddb.io/archive/v6/systems.csv
curl -s -o "${dataDir}/eddb/stations.jsonl" https://eddb.io/archive/v6/stations.jsonl
curl -s -o "${dataDir}/eddb/bodies.jsonl" https://eddb.io/archive/v6/bodies.jsonl
curl -s -o "${dataDir}/eddb/commodities.json" https://eddb.io/archive/v6/commodities.json
curl -s -o "${dataDir}/eddb/listings.csv" https://eddb.io/archive/v6/listings.csv
curl -s -o "${dataDir}/eddb/factions.csv" https://eddb.io/archive/v6/factions.csv
curl -s -o "${dataDir}/eddb/modules.json" https://eddb.io/archive/v6/modules.json

./rebuild