-
I'm working to migrate some old ruby code that uses octokit with what are now the legacy Projects on GitHub. What I'm not clear on is whether octokit supports the new Projects or not. It seems, not.. but I am not really clear on that. If that is the case, what is the new recommend approach for interfacing with them? |
Beta Was this translation helpful? Give feedback.
Answered by
timrogers
Aug 2, 2023
Replies: 1 comment
-
@mauvehed The new GitHub Projects aren't supported in Octokit, because they use the GraphQL API, and Octokit.rb is focused on the REST API. You can learn about how to work with Projects using the GraphQL API here. I think your best bet would be to use a generic GraphQL Ruby client and write your own queries. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mauvehed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@mauvehed The new GitHub Projects aren't supported in Octokit, because they use the GraphQL API, and Octokit.rb is focused on the REST API. You can learn about how to work with Projects using the GraphQL API here. I think your best bet would be to use a generic GraphQL Ruby client and write your own queries.