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


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

I've been able to access passive information but every attempt to change something using the API gets these "Not Found" errors.
  • Comment on Re^2: How to access github with Pithub/Net::GitHub::V3?

Replies are listed 'Best First'.
Re^3: How to access github with Pithub/Net::GitHub::V3?
by choroba (Cardinal) on Feb 22, 2021 at 23:12 UTC
    Have you configured the "Scopes" of the token to allow that kind of access?

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
      That was the problem. Thank you.
Re^3: How to access github with Pithub/Net::GitHub::V3?
by tobyink (Canon) on Feb 22, 2021 at 20:48 UTC

    Are you using the latest release of Pithub? Github do occasionally move bits of their API around — not too often, but if it's a very old Pithub, that could be an issue.

      Yes, I installed it yesterday.

      $ cpanm Pithub Pithub is up to date. (0.01036)