Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
API Questions
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Steven  
View profile  
 More options Nov 2, 12:19 pm
From: Steven <buildinghist...@offline.org.uk>
Date: Mon, 2 Nov 2009 09:19:55 -0800 (PST)
Local: Mon, Nov 2 2009 12:19 pm
Subject: API Questions
Hello,

I noticed in the API documentation that the default RSS search should
return 20 results, however in practice it seems to give 15. For
example:

http://www.geograph.org.uk/syndicator.php?key=[apikey]

Is it possible to change the number to say 50 for a given api key, or
do I need to generate a search id each time and run multiple get
requests to pull down pages 1-5? The latter is easily done, but will
use more bandwidth and cpu time.

Something I've noticed whilst testing is that some searches seem to
not mind if either no or an invalid apikey is used, others do or
generate PHP errors. For example:

http://www.geograph.org.uk/export.csv.php?key=[apikey]

doesn't work (and gracefully gives an error), but:

http://www.geograph.org.uk/api/photo/1234/%5Bapikey%5D

does. However:

http://www.geograph.org.uk/syndicator.php?key=[apikey]&i=12345&page=2

gives:

Warning: implode() [function.implode]: Bad arguments. in /var/www/
geograph_live/libs/geograph/searchengine.class.php on line 448

Warning: Cannot modify header information - headers already sent by
(output started at /var/www/geograph_live/libs/geograph/
searchengine.class.php:448) in /var/www/geograph_live/libs/geograph/
functions.inc.php on line 642

Warning: Cannot modify header information - headers already sent by
(output started at /var/www/geograph_live/libs/geograph/
searchengine.class.php:448) in /var/www/geograph_live/libs/geograph/
functions.inc.php on line 643

Warning: Cannot modify header information - headers already sent by
(output started at /var/www/geograph_live/libs/geograph/
searchengine.class.php:448) in /var/www/geograph_live/libs/geograph/
functions.inc.php on line 644

It doesn't affect me either way, but thought you might like to know :)

Many thanks

Steven


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
barryhunter  
View profile  
 More options Nov 2, 5:36 pm
From: barryhunter <barrybhun...@googlemail.com>
Date: Mon, 2 Nov 2009 14:36:24 -0800 (PST)
Local: Mon, Nov 2 2009 5:36 pm
Subject: Re: API Questions
There are a few ways of getting more results in one query - but it
depends on the type of query.
- I'll actully follow up on this off-list, on how to proceed.

But will certainly update the documentation. At some point we changed
the default page size.

As for keys - don't tell anyone, but sometimes they are validated,
sometimes they just used for tracking and/or a means to block.
- but certainly shouldnt give php errors. (but that might just be the
example i number you happened to pick)

Barry

On Nov 2, 5:19 pm, Steven <buildinghist...@offline.org.uk> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google