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
from the api docs search() needs a string, but it needs an object?! is the docs wrong? or i am wrong?
search()
my code :
import GitHub from 'github-api' var gh = new GitHub(); gh.search().forRepositories({q:'react'}) .then(({data: repos}) => { console.log(repos) }).catch((error) => { console.log('forRepositories error:', error) }) // or gh.search({q:'react'}).forRepositories() .then(({data: repos}) => { console.log(repos) }).catch((error) => { console.log('forRepositories error:', error) })
env:
node -v v5.1.1 npm -v 3.3.12
but nothing print out.... and there is no example for search? can i have an example for function search ?
search
thanks :)
The text was updated successfully, but these errors were encountered:
sorry, i was wrong. it worked, but very slow because of the network and search method will get all pages.
Sorry, something went wrong.
No branches or pull requests
from the api docs
search()
needs a string, but it needs an object?! is the docs wrong? or i am wrong?my code :
env:
but nothing print out....
and there is no example for search? can i have an example for function
search
?thanks :)
The text was updated successfully, but these errors were encountered: