Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need provide another language #11

Open
30233904 opened this issue Dec 8, 2024 · 1 comment
Open

need provide another language #11

30233904 opened this issue Dec 8, 2024 · 1 comment

Comments

@30233904
Copy link

30233904 commented Dec 8, 2024

when i am using the api of https://api.diveharder.com/raw/dss, i added Accept-Language:zh-Hans into the headers, but it didnt return contents in chinese. hope can support another languages in this api

@30233904
Copy link
Author

30233904 commented Dec 8, 2024

[
{
"id32": 749875195,
"planetIndex": 253,
"lastElectionId": "a5e545ba-82b3-ef11-88cd-6045bdb03ce7",
"currentElectionId": "1881ae4b-4cb4-ef11-88cd-6045bdb03ce7",
"nextElectionId": "d86aa5d8-15b5-ef11-88cd-6045bdb03ce7",
"currentElectionEndWarTime": 26006960,
"flags": 1,
"tacticalActions": [
{
"id32": 1811774650,
"mediaId32": 1811774650,
"name": "PLANETARY BOMBARDMENT",
"description": "The DSS fires nonstop orbital bombardments from its suite of 77 PRESIDENTIAL-Class Cannons, providing planetwide artillery support and accelerating liberation efforts. Temporarily, also increases Reinforcement Budget by +1 per squad member and augments all loadouts with FX-12 Shield Generator Relay Stratagem.",
"strategicDescription": "Fires periodic <i=1>Orbital Barrages during missions. Accelerates progress in <i=1>Liberation Campaigns.",
"status": 3,
"statusExpireAtWarTimeSeconds": 26268640,
"cost": [
{
"id": "dc2fb44e-ea9f-ef11-88d0-002248533197",
"itemMixId": 2985106497,
"targetValue": 86400,
"currentValue": 0,
"deltaPerSecond": 0,
"maxDonationAmount": 50,
"maxDonationPeriodSeconds": 86400
}
],
"effectIds": [
1208,
1211,
1214,
1178
],
"activeEffectIds": []
},
{
"id32": 4091660627,
"mediaId32": 4091660627,
"name": "EAGLE STORM",
"description": "DSS crews maintain deployment of a 24-hour rotating fleet of Eagle Fighters from the massive three-tiered Convocation Bay, supporting all Helldiver operations on the planet with close air support and halting enemy offensives for a short time. Temporarily, also increases Reinforcement Budget by +1 per squad member.",
"strategicDescription": "Deploys periodic <i=1>Eagle Airstrikes during missions. Slows enemy progress in <i=1>Defense Campaigns.",
"status": 1,
"statusExpireAtWarTimeSeconds": 26163790,
"cost": [
{
"id": "ce60caf8-d89e-ef11-88d0-002248533197",
"itemMixId": 3992382197,
"targetValue": 86400,
"currentValue": 21751.25,
"deltaPerSecond": 0.001,
"maxDonationAmount": 75,
"maxDonationPeriodSeconds": 86400
}
],
"effectIds": [
1209,
1212,
1216
],
"activeEffectIds": []
},
{
"id32": 3248573007,
"mediaId32": 714920092,
"name": "ORBITAL BLOCKADE",
"description": "The DSS activates its Zero G Anti-Ship Missile System, targeting all large enemy spacecraft attempting to exit the planet's atmosphere. In addition, diverts excess manpower to Super Destroyer logistical support. ",
"strategicDescription": "<i=1>Defense Campaigns cannot originate from this planet. The <i=1>HELLPOD SPACE OPTIMIZATION Booster is automatically active for all missions.",
"status": 1,
"statusExpireAtWarTimeSeconds": 26099220,
"cost": [
{
"id": "e1c28f9c-ea9f-ef11-88d0-002248533197",
"itemMixId": 3608481516,
"targetValue": 86400,
"currentValue": 13480,
"deltaPerSecond": 1,
"maxDonationAmount": 50000,
"maxDonationPeriodSeconds": 86400
}
],
"effectIds": [
1210,
1213,
1215
],
"activeEffectIds": []
}
]
}
]
//didnt support chinese

@30233904 30233904 closed this as completed Dec 8, 2024
@30233904 30233904 reopened this Dec 8, 2024
@30233904 30233904 closed this as completed Dec 8, 2024
@30233904 30233904 reopened this Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant