[twitter-dev] API limits - what am I missing? Seeking clarity on API request limits.

2009-04-18 Thread Khyron
I see the 2 following statements made, in the following order within moments

of each other at http://apiwiki.twitter.com/REST+API+Documentation.


Under Pagination Limiting:

Clients may request up to 3,200 statuses via the page and count
parameters. Requests for more than the limit will result in a reply with a
status code of 200 and an empty result in the format requested.

Under Be Nice to the Servers:

If your application keeps a local archive that persists between sessions,
it's
okay to request an entire timeline up to 200 statuses.


So I can only request up to 200 statuses even though the limit using page
or count is 3200?  What gives?

I'd like to pull about 1950 statuses, all of my updates, in one API
connection.
Is my limit 200 per API request (requiring 10 API requests) OR is my limit
1950 in one API request?  Are there other parameters besides page and
count which are more server friendly, thus allowing larger requests?

What am I missing?  Can someone clarify please?  Now that I figured out
how to do what I want to do, I want to make sure that I play by the rules
so that I don't get blacklisted for killing the servers.

Thanks in advance yet again!

-- 
You can choose your friends, you can choose the deals. - Equity Private

AlphaGuy - http://alphaguy.blogspot.com
On Twitter - @khyron4eva


[twitter-dev] Re: Do any of the libraries implement a method for returning statuses_count?

2009-04-13 Thread Khyron

Ok.

So then, in Python, which library do I need to inmport to parse the
returned
XML?  I have simplejson (needed it for python-twitter) so maybe that
would
be easier?

On Apr 13, 1:56 am, Peter Denton petermden...@gmail.com wrote:
 I dont know which specific libraries, but its a very common part of the API.
 For example, if you look at:http://twitter.com/users/show/khyron4eva.xml

 you will get xml back and are able to extract:
 $status_count = $xml - statuses_count;

 On Sun, Apr 12, 2009 at 12:57 PM, Khyron khyron4...@gmail.com wrote:
  If so, which one?  If not, what is the best way to extract this piece of
  info?
  I'm a beginning programmer here, but I need this bit to accomplish my goal.

  --
  You can choose your friends, you can choose the deals. - Equity Private

  AlphaGuy -http://alphaguy.blogspot.com
  On Twitter - @khyron4eva

 --
 Peter M. Dentonwww.twibs.com
 i...@twibs.com

 Twibs makes Top 20 apps on Twitter -http://tinyurl.com/bopu6c


[twitter-dev] Do any of the libraries implement a method for returning statuses_count?

2009-04-12 Thread Khyron
If so, which one?  If not, what is the best way to extract this piece of
info?
I'm a beginning programmer here, but I need this bit to accomplish my goal.

-- 
You can choose your friends, you can choose the deals. - Equity Private

AlphaGuy - http://alphaguy.blogspot.com
On Twitter - @khyron4eva