We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tried to login but I get an error:
Relevant code:
import Pixiv from 'pixiv.ts'; import { env } from './environment'; let client: Pixiv; export async function usePixivClient() { if (!client) { client = await Pixiv.login(env.pixiv.username, env.pixiv.password); } async function getUserIllustrations(params: Parameters<typeof client['user']['illusts']>[0]) { return await client.user.illusts(params); } return { getUserIllustrations, }; }
The text was updated successfully, but these errors were encountered:
nvm, should've read closely the notes 😅
maybe deprecate the login() method and recommend refreshLogin() instead?
login()
refreshLogin()
Sorry, something went wrong.
No branches or pull requests
Tried to login but I get an error:
![image](https://user-images.githubusercontent.com/6721822/152167040-87b5b890-13ef-4256-ad8d-09faf3ed1a9e.png)
Relevant code:
The text was updated successfully, but these errors were encountered: