1. 13 Nov, 2012 1 commit
    • inactivist's avatar
      Place model support and geo API mods · 93ca76e5
      inactivist authored
      api.py: 
      
      * Adding  API.geo_similar_places (geo/similar_places.json).  
      * Updating geo_search, geo_id, nearby_places, and reverse_geocode to return Place model instances as appropriate, rather than raw query result JSON data.  The geo APIs parse the 'result' element into a single Place or a list of Place instances.
      
      models.py:
      
      * Status: Now uses Place model if place attribute present in tweet/status body.
      * Adding BoundingBox, Place model classes.
      
      NOTE: Breaking Changes
      
      * Clients referencing Status.place or existing geo  functions (see list above) must be reviewed and updated to use proper attribute access.  The geo methods now return Place model instances rather than the raw JSON query data.
      93ca76e5
  2. 12 Jul, 2012 1 commit
  3. 18 Mar, 2012 1 commit
  4. 05 Feb, 2011 2 commits
  5. 31 Aug, 2010 1 commit
  6. 07 Jun, 2010 1 commit
  7. 04 May, 2010 1 commit
  8. 07 Mar, 2010 1 commit
  9. 30 Jan, 2010 2 commits
  10. 29 Jan, 2010 2 commits
  11. 16 Jan, 2010 1 commit
  12. 03 Jan, 2010 1 commit
    • Joshua's avatar
      Added ModelFactory. This replaces the 'models' dict in the tweepy.models module. · b58ea115
      Joshua authored
      This will allow for more flexible plug 'n play for developers that need
      to extend Tweepy's models. To use custom models, they will extend the ModelFactory
      and then pass this new factory into the API constructor.
      
      Example:
          class MyStatus(Status):
              """A extended Status model"""
      
          class MyModelFactory(ModelFactory):
              status = MyStatus
      
          api = API(model_factory=MyModelFactory)
      b58ea115
  13. 17 Dec, 2009 4 commits
  14. 12 Dec, 2009 1 commit
  15. 10 Dec, 2009 1 commit
  16. 09 Dec, 2009 1 commit
  17. 06 Nov, 2009 1 commit
  18. 31 Oct, 2009 1 commit
  19. 30 Oct, 2009 1 commit
  20. 15 Oct, 2009 1 commit
  21. 14 Oct, 2009 1 commit
  22. 20 Sep, 2009 1 commit
  23. 13 Sep, 2009 1 commit
  24. 13 Aug, 2009 1 commit
  25. 11 Aug, 2009 1 commit
  26. 08 Aug, 2009 2 commits
  27. 07 Aug, 2009 2 commits
  28. 30 Jul, 2009 3 commits
  29. 29 Jul, 2009 2 commits