summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gamelocker/api.py17
1 files changed, 9 insertions, 8 deletions
diff --git a/gamelocker/api.py b/gamelocker/api.py
index ad7e1f6..30fe861 100644
--- a/gamelocker/api.py
+++ b/gamelocker/api.py
@@ -12,17 +12,18 @@ import gamelocker.strings
class Gamelocker(object):
- """Implementation of the Gamelocker API."""
+ """Implementation of the Gamelocker API.
+
+ :param apikey: API key to authenticate with.
+ :type apikey: str
+ :param datacenter: (optional) API endpoint datacenter to use.
+ :type datacenter: str
+ :return: :class:`Gamelocker <Gamelocker>` object
+ :rtype: gamelocker.Gamelocker
+ """
def __init__(self, apikey, datacenter="dc01"):
"""Constructs a :class:`Gamelocker <Gamelocker>`.
-
- :param apikey: API key to authenticate with.
- :type apikey: str
- :param datacenter: (optional) API endpoint datacenter to use.
- :type datacenter: str
- :return: :class:`Gamelocker <Gamelocker>` object
- :rtype: gamelocker.Gamelocker
"""
self.apikey = apikey