Update scripts

This commit is contained in:
freearhey 2023-10-02 06:31:57 +03:00
parent b7214db4fb
commit ca254a6df0
37 changed files with 1091 additions and 915 deletions

View file

@ -0,0 +1,18 @@
import { Logger } from '@freearhey/core'
import { ApiClient } from '../../core'
async function main() {
const logger = new Logger()
const client = new ApiClient({ logger })
const requests = [
client.download('channels.json'),
client.download('countries.json'),
client.download('regions.json'),
client.download('subdivisions.json')
]
await Promise.all(requests)
}
main()