import untappd

class Beer(object):

  def __init__(self, api=None, beer_id=None, name=None, label=None, abv=None, style=None,
               description=None, brewery=None):

    self.api = untappd.Api()

    if self.api is None:
      raise Exception('untappd.api is required.')
        
  def SearchBeers(self, beer):
    """Search for a beer."""
    call = '/search/beer/?q=%s?sort=count' % beer
    response_dict = untappd.Api.Call(self.api, call, self.api.payload)
    return response_dict
  
  def GetBeerInfo(self, beer_id):
    """Pass the beer id."""
    call = '/beer/info/%s' % beer_id
    response_dict = untappd.Api.Call(self.api, call, self.api.payload)
    
  def BeerFeed(self, beer):
    call = '/beer/checkins/%s' % beer_id
    response_dict = untappd.Api.Call(self.api, call, self.api.payload)
@@ -167,16 +167,175 @@
 y=None):
+%0A    %0A    self.abv = abv%0A    self.beer_id = beer_id%0A    self.brewery = brewery%0A    self.description = description%0A    self.label = label%0A    self.style = style
 %0A%0A    se
@@ -351,16 +351,23 @@
 untappd.
+Untappd
 Api()%0A%0A 

Initialize beer object attributes.