#!/usr/bin/env python
# -*- coding: utf-8 -*-

class PodiumVenue(object):
    """
    Object that represents a Venue.

    **Attributes:**
        **venue_id** (int): Venue Id

        **uri** (string): URI for the Venue.

        **name** (string): The Venue's name.
    """
    def __init__(self, venue_id, uri, name):
        self.venue_id = venue_id
        self.uri = uri
        self.name = name


def get_venue_from_json(json):
    """
    Returns a PodiumVenue object from the json dict received from podium api.

    Args:
        json (dict): Dict of data from REST api

    Return:
        PodiumVenue: The PodiumVenue object for the data.
    """
    return PodiumVenue(json['id'],
                      json['URI'],
                      'name'
                      )

@@ -325,469 +325,1682 @@
 ri, 
-name):%0D%0A        self.venue_id = venue_id%0D%0A        self.uri = uri%0D%0A        self.name = name%0D%0A%0D%0A%0D%0Adef get_venue_from_json(json):%0D%0A    %22%22%22%0D%0A    Returns a PodiumVenue object from the json dict received from podium api.%0D%0A%0D%0A    Args:%0D%0A        json (dict): Dict of data from REST api%0D%0A%0D%0A    Return:%0D%0A        PodiumVenue: The PodiumVenue object for the data.%0D%0A    %22%22%22%0D%0A    return PodiumVenue(json%5B'id'%5D,%0D%0A                      json%5B'URI'%5D,%0D%0A                      'name'
+updated, created,%0D%0A                 name,%0D%0A                 centerpoint,%0D%0A                 country_code,%0D%0A                 configuration,%0D%0A                 track_map_array,%0D%0A                 start_finish,%0D%0A                 finish,%0D%0A                 sector_points,%0D%0A                 length%0D%0A                 ):%0D%0A        self.venue_id = venue_id%0D%0A        self.uri = uri%0D%0A        self.updated = updated%0D%0A        self.created = created%0D%0A        self.name = name%0D%0A        self.centerpoint = centerpoint%0D%0A        self.country_code = country_code%0D%0A        self.configuration = configuration%0D%0A        self.track_map_array = track_map_array%0D%0A        self.start_finish = start_finish%0D%0A        self.finish = finish%0D%0A        self.sector_points = sector_points%0D%0A        self.length = length%0D%0A%0D%0Adef get_venue_from_json(json):%0D%0A    %22%22%22%0D%0A    Returns a PodiumVenue object from the json dict received from podium api.%0D%0A%0D%0A    Args:%0D%0A        json (dict): Dict of data from REST api%0D%0A%0D%0A    Return:%0D%0A        PodiumVenue: The PodiumVenue object for the data.%0D%0A    %22%22%22%0D%0A    return PodiumVenue(json%5B'id'%5D,%0D%0A                      json%5B'URI'%5D,%0D%0A                      json%5B'updated'%5D,%0D%0A                      json%5B'created'%5D,%0D%0A                      json.get('name', None),%0D%0A                      json.get('centerpoint', None),%0D%0A                      json.get('country_code', None),%0D%0A                      json.get('configuration', None),%0D%0A                      json.get('track_map_array', None),%0D%0A                      json.get('start_finish', None),%0D%0A                      json.get('finish', None),%0D%0A                      json.get('sector_points', None),%0D%0A                      json.get('length', None)
 %0D%0A  

update venues object model