Find jobs - Wordpress Themes - Debt Consolidation - Bad Credit Loans - Creative Electronics

PDA

View Full Version : How to add API to PHP?


JEET
Jul 13th 2006, 4:31 am
Hi,
I want to use Yahoo API with PHP to count the number of pages indexed of a given site. But I really don't know anything about using API's...
If anyone knows how to count the number of pages indexed using php, please show me how to do this or if you know of a tutorial, then please give me a link.
A code example would be extremely useful.

I searched google and yahoo for yahoo api tutorials but found nothing very useful.
Thank you for helping me! :)

T0PS3O
Jul 13th 2006, 4:33 am
Read the API docs, everything you need to know are in there. But if you don't know PHP well, it'll be a nightmare.

JEET
Jul 13th 2006, 5:15 am
Hi,
I downloaded the zip from developer pages and uploaded example 4 in php to my host. Then when I called YahooSearchExample.php, it asks for a zip code. What to enter here?

Additionally it also shows an error, "call to undefined function".

I know PHP fairly well. The code in those files is understandable but I am not sure about the 2 things I mentioned above. (zip code and error message.)
How can I solve this?
Thank you! :)

JEET
Jul 13th 2006, 7:25 am
OK, figured all out... :)
Just 1 more question, How many queries can be sent using this "yahoodemo" API in 1 day?
Thank you

Nick_Mayhem
Jul 15th 2006, 7:31 am
I think its 1000 Queries per day.