Python Forum
New User creation in GITHUB Account using python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New User creation in GITHUB Account using python
#1
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
Reply
#2
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/
Recommended Tutorials:
Reply
#3
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).
Reply
#4
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]"
Reply
#5
What about Github API?
https://developer.github.com/v3/
Reply
#6
ok let me Try.
Thank you!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  building python payment gateway or bank account for secure money transfer masoud_da 0 1,745 Feb-28-2019, 12:12 PM
Last Post: masoud_da

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020