Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: How to access github with Pithub/Net::GitHub::V3?

by no longer just digit (Beadle)
on Feb 22, 2021 at 12:40 UTC ( [id://11128655]=note: print w/replies, xml ) Need Help??


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.

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)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11128655]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-28 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found