-
Notifications
You must be signed in to change notification settings - Fork 0
Is a token required for public gists? #1
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
Comments
This commit solves the problem. It was an unnecessary token check. Now (v.1.0.8) you can use getAll method without token, to retrieve public gists. Thank you for your feedback @mindrones |
Cool, worked perfectly to retrieve my own gists with this (no token): .getAll({
filterBy: [
{userName: "mindrones"},
]
}) Thanks! Note aside, this one: .getAll({
rawContent: true,
filterBy: [
{userName: "mindrones"},
{content: "svelte"},
]
}) fails with a
Not sure if that's supposed to work or wrong config. If needed can open a new issue. |
@mindrones I just published v.1.0.9 it solves a bug when gists files contained JSON files. You can see the change in this commit |
Works! Thanks a lot for these quick fixes, closing :) |
Hi, related to sveltejs/v2.svelte.dev#382, I'm trying to retrieve public gists containing the word "svelte":
but I get the error
Error: You need to set token before by setToken() method
.According to https://github.com/jvcalderon/gist-client#get-a-gist-list it seemed that this should work without a token? Thanks!
The text was updated successfully, but these errors were encountered: