.. Copyright (C) 2011-2012 James Rowe This file is part of python-github2, and is licensed under the 3-clause BSD License. See the LICENSE file in the top distribution directory for the full license text. Quickstart ========== Once :mod:`github2` is :doc:`installed ` we can open an interactive Python session and perform some basic tasks to familiarise ourselves with the package. Create an unauthenticated client object:: >>> from github2.client import Github >>> github = Github() .. note:: Creating an unauthenticated client object means we can play with the API without fear of creating or deleting data on our account. See how many followers the :mod:`github2` project has:: >>> len(github.repos.watchers("ask/python-github2")) 129 Read the description of the ``python-github2`` project:: >>> repo = github.repos.show("ask/python-github2") >>> repo.description u'github client in python, with issues support.' We can take advantage of Python's :func:`dir` to explore the package a little more:: >>> filter(lambda s: not s.startswith("_"), dir(github.users)) ['domain', 'follow', 'followers', 'following', 'get_value', 'get_values', 'make_request', 'request', 'search', 'search_by_email', 'show', 'unfollow'] For more information on specific functionality see the :doc:`api/index`, and the copious examples contained within.