Skip to main content

A python3 library for getting information about the team

Project description

RaiderFetch

A python3 library for getting information about the team.

Installation

To install this library, either use pip:

python3 -m pip install RaiderFetch

or, use setuptools:

python3 setup.py install

Usage

This is the recommended usage for the library

Import the library

First, import the library

import RaiderFetch as rf

Create a fetcher

All of your work will be done through a fetcher class.

fetcher = rf.Fetcher()

A string of another account name can also be passed into the constructor. For example:

fetcher = rf.Fetcher("team254")

Calling the api

For maximum control over the library, fetching data from the API is done manually. Nothing is returned by this function.

fetcher.fetch()

Get the activity feed

To get info from GitHub about the team's activity, use this function.

fetcher.getFeed()

Get a list of team members

To get a list of all current programming team members, use this function. Accounts marked as private will not be shown.

(NOTE: Team captains should have all members set their account to public)

fetcher.getMembers()

Check if an account is a member of the team

To check if someone is a member of this team, pass their username into this function. A bool is returnewd by this function.

fetcher.isMember("username")

Get a list of repos

To get a list of all public repos, along with some info about them, use:

fetcher.getRepos()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

RaiderFetch-1.0.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

RaiderFetch-1.0-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page