Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.46 KB

File metadata and controls

39 lines (28 loc) · 1.46 KB

Export All Terumi Endpoints

EN Database (default)

dotnet run --launch-profile "UmaMusumeAPI"

JP Database

dotnet run --launch-profile "UmaMusumeAPI-JP"

Run these commands individually to export each Terumi endpoint:

TerumiFactorData

Invoke-RestMethod -Uri "http://localhost:5000/api/TerumiFactorData" -Method GET | ConvertTo-Json -Depth 10 | Out-File -FilePath "C:\Users\cminh\Desktop\TerumiFactorData.json" -Encoding UTF8

TerumiSimpleSkillData

Invoke-RestMethod -Uri "http://localhost:5000/api/TerumiSimpleSkillData" -Method GET | ConvertTo-Json -Depth 10 | Out-File -FilePath "C:\Users\cminh\Desktop\TerumiSimpleSkillData.json" -Encoding UTF8

TerumiCharacterData

Invoke-RestMethod -Uri "http://localhost:5000/api/TerumiCharacterData" -Method GET | ConvertTo-Json -Depth 10 | Out-File -FilePath "C:\Users\cminh\Desktop\TerumiCharacterData.json" -Encoding UTF8

TerumiSupportCardData

Invoke-RestMethod -Uri "http://localhost:5000/api/TerumiSupportCardData" -Method GET | ConvertTo-Json -Depth 10 | Out-File -FilePath "C:\Users\cminh\Desktop\TerumiSupportCardData.json" -Encoding UTF8

TerumiRaceData

Invoke-RestMethod -Uri "http://localhost:5000/api/TerumiRaceData" -Method GET | ConvertTo-Json -Depth 10 | Out-File -FilePath "C:\Users\cminh\Desktop\TerumiRaceData.json" -Encoding UTF8

For accessing DB:

docker exec umamusume-db mariadb -uroot -pyourpassword umamusume -e