Serious note to self. I wanted to mock the Github module for python. My simple class will get the ID of the team. from github import Github, Team from dotenv import load_dotenv import os import sys import json class GetTeamId: def __init__(self): load_dotenv() self.team_id = 5555 self.token = os.environ.get("GITHUB_TOKEN") self.client = Github(self.token) self.org = self.client.get_organization('FooBar') def handle(self, team_name): teams = self.org.get_teams() for team in teams: if team_name == team.name: print("Team id", team.
First Rails site for the masses for me. Thanks to Progressive Exchange http://www.progressiveexchange.org/welcome.htm I was able to volunteer for a webapp for Doctors for America http://www.drsforamerica.org/ So not only do I get to learn Ruby on Rails and practice but I get to build something for a good group and purpose. This app had to allow staff to enter and manage Speaker Requests and Speakers data as well as allow the public to view a Calendar of the upcoming events, filter as needed and submit a requests.