With txgithub

Replace the internal api.py with txgithub's api.