yahoo.search.factory (version 1.11, Tue Sep 11 15:33:28 MDT 2007) | index /home/leif/hack/pysearch/yahoo/search/factory.py |
Search Factory - simple API to create search objects
This module implements a few convenience functions to make it easy and safe
to create search objects. This is not the most efficient way to use the web
services, but it's convenient. Future releases of the APIs will hopefully
also make this factory implementation less cumbersome.
Modules | ||||||
|
Functions | ||
|
Data | ||
SERVICES = {'album': (<class 'yahoo.search.audio.AlbumSearch'>, 'Search for a specific music album'), 'artist': (<class 'yahoo.search.audio.ArtistSearch'>, 'Information on a musical performer'), 'context': (<class 'yahoo.search.web.ContextSearch'>, 'Contextual Web Search'), 'image': (<class 'yahoo.search.image.ImageSearch'>, 'Image Search'), 'inlinkdata': (<class 'yahoo.search.site.InlinkData'>, 'Show pages linking to a specific page'), 'local': (<class 'yahoo.search.local.LocalSearch'>, 'Local Search'), 'news': (<class 'yahoo.search.news.NewsSearch'>, 'News Search'), 'pagedata': (<class 'yahoo.search.site.PageData'>, 'Find all pages belonging to a domain'), 'podcast': (<class 'yahoo.search.audio.PodcastSearch'>, 'Search for a Podcast site/feed'), 'related': (<class 'yahoo.search.web.RelatedSuggestion'>, 'Web Search Related Suggestion'), ...} __author__ = 'Leif Hedstrom <leif@ogre.com>' __date__ = 'Tue Sep 11 15:33:28 MDT 2007' __revision__ = '$Id: factory.py,v 1.11 2007/09/11 21:38:43 zwoop Exp $' __version__ = '$Revision: 1.11 $' |
Author | ||
Leif Hedstrom <leif@ogre.com> |