http://qs321.pair.com?node_id=11128653


in reply to Re: How to access github with Pithub/Net::GitHub::V3?
in thread How to access github with Pithub/Net::GitHub::V3?

not really the answer to your question but you can be interested to Back up all of your Github repos which uses Git::Repository and this module list other perl git wrappers

Thanks. Of those suggestions, I am using Git::Raw which I think is OK and it is basically well documented. I wrote a blog post about its documentation here, it would be much easier if they would put the functions into some kind of order.

Loooking at Net::GitHub::V3 module seems nice and has some example too. The lacks of public tests is no good, but there are author tests under /xt/v3: I suggest you to look at them, set all needed ENV vars an run them to see if they all pass for you.

Yes that seems like a good idea, I will try it and reply back. The documentation of that module seems to be not too bad, but I couldn't work out how to debug what was happening with the error message. I think I need to download the source code and run a script after setting %ENV up.

OK I thought I should do that before posting this. The good news is that I could get 01-access-token.t to pass after setting my token in %ENV. The bad news is that the rest of it didn't work. This blog post says that authentication changed in November 2020. Maybe I can work things out with the token though.

I tried my previous script as shown at the top using the access_token method, and we are back to the Not Found again. I think there is something wrong here.