# coding=utf-8
from .fetch import Session
from .groups import Group
from .users import User


class Api(object):
    def __init__(self, access_token=None):
        self.session = Session(access_token)

    def get_user(self, user_id):
        return User._get_user(self.session, user_id)

    def get_users(self, user_ids):
        return User._get_users(self.session, user_ids)

    def get_group(self, group_id):
        return Group._get_group(self.session, group_id)

    def get_groups(self, group_ids):
        return Group._get_groups(self.session, group_ids)

    def __repr__(self):
        return "<Api token({0}...{1})>".format(self.session.access_token[:4], self.session.access_token[-4:])

@@ -605,30 +605,35 @@
 rn %22
-%3C
 Api
- 
+(access_
 token
-(%7B0%7D...
+=%7B0%7D***
 %7B1%7D)
-%3E
 %22.fo
@@ -664,17 +664,17 @@
 _token%5B:
-4
+5
 %5D, self.
@@ -699,9 +699,9 @@
 en%5B-
-4
+3
 :%5D)%0A

Change return string `__repr__`