Python Forum
New User creation in GITHUB Account using python - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html)
+--- Thread: New User creation in GITHUB Account using python (/thread-8970.html)



New User creation in GITHUB Account using python - Basavapatil81 - Mar-15-2018

Team,

need help i am working on project github user create
In my Project we want automate "github access to new users in org, any help
requirement is below:-
Add user to Github process:



⁃ Login with your Github account (if you don’t have one, go to github.com, create one then let me know your username)

 ⁃

For each github username request , ensure you have a full name (first and last name) and that they are a current employee or contractor of xxx.org. If you’re unable to verify any usernames, add a comment to the ticket asking the customer for a first name, last name and confirmation that they are working for xxx.org.



⁃ Browse to https://github.com/orgs/xxx/people

For every valid username:



⁃ Click invite, search for their username and select them. If no username is found, make a note and carry on with the next username (if any.) If a username appears, select them and In the following screen set them as a collaborator (not owner.) and add them to the 'XXX-All' team only then click 'Send Invitation.'



This sends an invite to the user, which they then must accept - we aren’t able to forcibly add a user to the organisation.



Regards,
BasavP


RE: New User creation in GITHUB Account using python - metulburr - Mar-15-2018

Quote:In my Project we want automate "github access to new users in org
prolly would need selenium to automate that process.
http://selenium-python.readthedocs.io/


RE: New User creation in GITHUB Account using python - buran - Mar-15-2018

This sounds like homework (because of (if you don’t have one, go to github.com, create one then let me know your username)

 - sounds like teacher's requirment). Anyway, we are not doing code for other people. You need to post your code in python tags, describe the problem (incl. post full traceback in error tags if you get one).


RE: New User creation in GITHUB Account using python - Basavapatil81 - Mar-15-2018

we can't write small script to get done. search user in web github database if no user found we can provide input create user and add email.

"github invite [username]"


RE: New User creation in GITHUB Account using python - buran - Mar-15-2018

What about Github API?
https://developer.github.com/v3/


RE: New User creation in GITHUB Account using python - Basavapatil81 - Mar-15-2018

ok let me Try.
Thank you!