[neomutt-devel] Python and GitHub GraphQL
Richard Russon
rich at flatcap.org
Fri Jan 21 13:03:39 CET 2022
Hi all,
Anyone familiar with Python and GraphQL?
(and want a small challenge :-)
On our IRC channel we have a Bot.
https://github.com/neomutt/neo-bot
It's a very simple creature. If you mention an Issue/PR number #3205,
it'll respond with:
Issue by @flatcap "Saving attachments with a directory name"
https://github.com/neomutt/neomutt/issues/3205
However, the Bot doesn't understand the numbers of Discussions.
The Bot uses GitHub's REST API to get info about the Issue/PR.
Unfortunately, there isn't an API for Discussions.
I'm looking for someone to upgrade the Bot to use GraphQL to get the
info we need.
https://docs.github.com/en/graphql/guides/using-the-graphql-api-for-discussions
Can you help?
Cheers,
Rich / FlatCap
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mailman.neomutt.org/pipermail/neomutt-devel-neomutt.org/attachments/20220121/632dbcfa/attachment.sig>
More information about the neomutt-devel
mailing list