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

Help #8

Closed
fuyuSanZ opened this issue Feb 25, 2024 · 6 comments
Closed

Help #8

fuyuSanZ opened this issue Feb 25, 2024 · 6 comments

Comments

@fuyuSanZ
Copy link

hi,how about the database?
any example / used structure & data

@torikushiii
Copy link
Owner

for the database structure you can take a look in here

https://github.com/torikushiii/BlueArchiveAPI/blob/main/core/classes/character.js#L4

{
	id: 001,
	rarity: 3,
	armorType: "LightArmor"
	... and so on
}

all the related functions should be all in there too

@sabedegg
Copy link

for dump dbs? :3

@fuyuSanZ
Copy link
Author

for the database structure you can take a look in here

https://github.com/torikushiii/BlueArchiveAPI/blob/main/core/classes/character.js#L4

{
	id: 001,
	rarity: 3,
	armorType: "LightArmor"
	... and so on
}

all the related functions should be all in there too

i already input sample data for banner,but i got error data.rateups is not iterable, how to fix it?

@fuyuSanZ fuyuSanZ reopened this Feb 25, 2024
@torikushiii
Copy link
Owner

for banner stuff, the data.rateup contains an character id array like this

{
	id: 00000,
	type: "PickupGacha",
	rateup: [ 1000, 2000 ],
	startAt: start date,
	endAt: end date
}

@fuyuSanZ
Copy link
Author

for banner stuff, the data.rateup contains an character id array like this

{
	id: 00000,
	type: "PickupGacha",
	rateup: [ 1000, 2000 ],
	startAt: start date,
	endAt: end date
}

structure for banner only like that?

@torikushiii
Copy link
Owner

yes, forgot to mention that the date are in unix format

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

3 participants