Python script for GitHub repository creation using a template on an organization

I’m writing a Python script to automate repository creation through GitHub. How do we create an organization repository using a template through GitHub API? I cant find the API link to do the same. There’s only creating a repo using a template (https://developer.github.com/v3/repos/#create-a-repository-using-a-template), and creating an organization repository (https://developer.github.com/v3/repos/#create-an-organization-repository). If there isn’t a way through the API, how do I write this particular task?

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.