0.0.3 • Published 1 year ago

fetch-albums-from-youzheng-topschool v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

fetch-albums-from-youzheng-topschool

installation

npm install fetch-albums-from-youzheng-topschool

upgrade

npm install fetch-albums-from-youzheng-topschool@latest

usage

import fs from 'node:fs/promises';
import { createClientAsync } from 'fetch-albums-from-youzheng-topschool';

const client = await createClientAsync('<your-acc>', '<your-pwd>');

const albums = await classClient.fetchAlbumsInClass();
await fs.writeFile(`albums.json`, JSON.stringify(albums, null, 2));

const schoolAlbums = await client.fetchAlbumsInSchool();
await fs.writeFile(`schoolAlbums.json`, JSON.stringify(schoolAlbums, null, 2));
0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago