ファイルを取ってくる時は https://github.com/~
じゃなくてhttps://raw.githubusercontent.com/~
なんですね。
URLが分かれば直打ちで取ってくることはできたけど、ディレクトリ内のファイルをリストで取得する
という点に苦戦してネット調べてみたら PyGithub
という便利なOSSがすでにありました。
お試し一式
コードや試し方はこちらをご参照ください。
Go to list of users who liked
ファイルを取ってくる時は https://github.com/~
じゃなくてhttps://raw.githubusercontent.com/~
なんですね。
URLが分かれば直打ちで取ってくることはできたけど、ディレクトリ内のファイルをリストで取得する
という点に苦戦してネット調べてみたら PyGithub
という便利なOSSがすでにありました。
コードや試し方はこちらをご参照ください。
Register as a new user and use Qiita more conveniently
Go to list of users who liked