shaungehring.com
UPTIME 30Y 04M 12DLAT 47.6062°NLON 122.3321°W
SYS ONLINEMODE PUBLIC
> shaun@home:~/open-source$
./home./blog./resume./media./music./books./open-source
AVAILABLE FOR CONSULT
← /open-source/Teammood-Client

Teammood-ClientTeammood-ClientTeammood-Client

shaungehring/Teammood-Client
Python client for the Teammood API
// SYSTEM_DIAGNOSTICS
STARS0
FORKS3
WATCHERS0
ISSUES1
SIZE13 KB
LICENSEMIT
README0x21

Teammood-Client

Python client for the Teammood API.

Teammood (https://app.teammood.com) is a online app that polls teams daily to see how they are doing and to catch problems before they become big. Geared towards agile dev teams it's a easy way to see how everyone is operating.

I AM NOT PERSONALLY AFFILIATED WITH TEAMMOOD

I use this for my teams and i needed a python client for reporting. Hence this project. Any help you want to contribute is appreciated.

Dependencies

  • requests

Usage

  1. Import the module
from teammood.teammood import Teammood, INTERVALS, TAG_COMBINATOR
  1. Create the client
teammood_client = Teammood(team_id="TEAM_ID",
                           api_key="API_KEY")

Moods With Participation

Query moods with associated participation

super_mood = teammood_client.get_moods_with_participation(
            start_datetime=datetime.datetime(year=2019, month=5, day=1),
            end_datetime=datetime.datetime(year=2019, month=5, day=27)
        )

Moods

Query moods by a date range

moods = teammood_client.get_all_moods_for_dates(start_datetime=datetime.datetime(year=2019, month=5, day=1),
                                                end_datetime=datetime.datetime(year=2019, month=5, day=31)
                                                )

Query moods for last X days

moods = teammood_client.get_all_moods_since(since=7)

Response

Team
    tags: [Tag]
    days: [Day
            moods: [Mood]
          ]

Participation

Query participation by a date range

participation = teammood_client.get_participation_for_dates(start_datetime=datetime.datetime(year=2019, month=5, day=1),
                                                            end_datetime=datetime.datetime(year=2019, month=5, day=27)
                                                            )

Response

Participation
    rates: [Rate]
LANG_DISTRIBUTION0x22
Python100.0%
COLLABORATORS0x23
TOPICS0x24
#api#client#python3#teammood
META0x25
CREATED2019.06.05
UPDATED2020.02.21
BRANCHMASTER
LICENSEMIT License