23 Nov 09

Do you want to use an API but you are too lazy to write your own code to handle the requests? If you code in PHP as I do, then you will definitely need these classes. By using the classes listed here you will be able of using a great number of web services with an easy and documented way.

PEAR

We couldn’t write a post about PHP classes without PEAR. PEARĀ  stands for “PHP Extension and Application Repository” and the Web Services category is the place to get ready made classes for:

  • Akismet
  • Amazon
  • Blogging
  • Compete
  • Delicious
  • Digg
  • eBay
  • Facebook
  • Google
  • Twitter
  • Yahoo
  • Youtube

and many more.

Even though PEAR is a great resource for web services related classes, sometimes you might want to use another class that doesn’t rely on PEAR to do the job or a more sophisticated one. The list that follows has PHP classes for different web services.

Alexa

Amazon

Babelfish

Bit.ly

Bing

DeviantArt

Digg

Drop.io

eBay

Facebook

Feeds

Flickr

FriendFeed

Google

Gravatar

ICQ

Last.fm

LinkedIn

MSN

Prowl

reCAPTCHA

Skype

Twitter

Various Networks

Yahoo

VN:F [1.8.1_1037]
Rating: 9.7/10 (14 votes cast)
VN:F [1.8.1_1037]
Rating: +4 (from 4 votes)
Using APIs With PHP? Here Are Your Classes9.71014

Popularity: 34%

  • Share/Bookmark

Related posts:

  1. Web 3.0 Will Be All About Web Services. Learn The Basics The web has evolved in many ways. From the static...
  2. Programming in the Cloud. Some remarkable Online IDEs. Cloud computing is said to be the next big thing....
  3. SocialWhale AKA “How Twitter Should Be” I love Twitter. It is one of the most useful...
  4. Technologies That Will Change The Web Some years ago, the mp3 format was invented. It was...
  5. 4 Website Thumbnails Generators With An API To Use Yesterday, I was trying to add automatic website thumbnails generation...

About the Author:

Filed under: Services, Tools - Trackback Uri


16 Comments.

  • Very helpful. Thanks for such a nice collection.

    UN:F [1.8.1_1037]
    Rating: 5.0/5 (1 vote cast)
    UN:F [1.8.1_1037]
    Rating: 0 (from 0 votes)
  • Thanks! I just checked your blog and it is already bookmarked :D

    UA:F [1.8.1_1037]
    Rating: 0.0/5 (0 votes cast)
    UA:F [1.8.1_1037]
    Rating: 0 (from 0 votes)
  • thanks!! really great collection of php classes.

    UN:F [1.8.1_1037]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.1_1037]
    Rating: 0 (from 0 votes)
  • Awesome collection. Stumbled.

    UN:F [1.8.1_1037]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.1_1037]
    Rating: 0 (from 0 votes)
  • Aaron M. says:

    Great list! Thanks!

    You forgot a good one:

    xmpphp (http://code.google.com/p/xmpphp/)

    This library allows you to access any Jabber 1.0 server (GoogleTalk, LJ Talk, jabber.org, etc.), supports TLS encryption, and allows several XML processing approaches and supported styles (process indefinitely, processUntil an event, processTime for a number of seconds).

    UN:F [1.8.1_1037]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.1_1037]
    Rating: +1 (from 1 vote)
  • Thanks for your addition and your mini showcase of xmpphp!!! It is always nice people to add resources with comments. This is the way of expanding our knowledge and sharing!

    UA:F [1.8.1_1037]
    Rating: 0.0/5 (0 votes cast)
    UA:F [1.8.1_1037]
    Rating: 0 (from 0 votes)
  • You forgot a GREAT Twitter Stream API one called Phirehose. It’s by far the most useful twitter api I’ve found.

    http://code.google.com/p/phirehose/

    UN:F [1.8.1_1037]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.1_1037]
    Rating: 0 (from 0 votes)
  • Not a pure php api, but an aggregator code for combining the different ip to geolocation porviders: http://united-coders.com/christian-harms/combining-http-and-javascript-apis-with-php

    UN:F [1.8.1_1037]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.1_1037]
    Rating: +1 (from 1 vote)
  • You have not mentioned the Zend_Service_* classes of Zend Framework or any other framework :)

    UN:F [1.8.1_1037]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.1_1037]
    Rating: 0 (from 0 votes)
  • Crupuk says:

    Thanks for you list !

    Nothing about Xbox live or PSN Network ?

    UN:F [1.8.1_1037]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.1_1037]
    Rating: 0 (from 0 votes)
  • Stephen says:

    How about the Zend Framework, it has the default implementations for Google APIs among others

    UN:F [1.8.1_1037]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.1_1037]
    Rating: 0 (from 0 votes)
  • romualb says:

    and Youtube ? where is the link ?

    UN:F [1.8.1_1037]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.1_1037]
    Rating: 0 (from 0 votes)
  • @Stephen The Zend framework is full of APIs to use. I just placed a link to gdata but someone should really look into it for more.

    UA:F [1.8.1_1037]
    Rating: 0.0/5 (0 votes cast)
    UA:F [1.8.1_1037]
    Rating: 0 (from 0 votes)
  • SMiGL says:

    Good collection API. Thanks!

    UN:F [1.8.1_1037]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.1_1037]
    Rating: 0 (from 0 votes)

Trackbacks/Pingbacks

  1. [...] Tech has a new post with a great (and long) list of PHP scripts to connect your application to any number of popular [...]