Create twittertry3.py

It gives the following error
Traceback (most recent call last):
  File "twittnew.py", line 4, in <module>
    statuses=api.GetPublicTimeline()
AttributeError: 'Api' object has no attribute 'GetPublicTimeline'