kaizensoze / node-github

[DEPRECATED] Node.js wrapper for GitHub API
https://kaizensoze.github.io/node-github/
MIT License
29 stars 5 forks source link

getContent of a directory #117

Closed vydingding closed 8 years ago

vydingding commented 8 years ago

I try to getContent this but it gives me a 400 "Bad Request" error.

user: "vydingding", repo: "vydingding.github.io", path: "_data/" }

How do we get contents of a certain directory?

kaizensoze commented 8 years ago

Try without the slash, so just "_data".