There are five steps in the process:
- Get an application ID. Each API call must include an application ID. This allows Yahoo! to limit, by IP address, the number of calls made in a 24-hour period to all web services. This ID can be obtained freely (free Yahoo! membership registration is required).
- Bookmark the main documentation page. The documentation provides links to specific information about each parameter for constructing valid REST queries as well as each response field.
- Evaluate and review the service APIs. The service APIs are
broken into five primary categories:
- Image search is used for searching and returning images.
- Local search finds businesses near a specified location by city, state, ZIP code, or latitude and longitude.
- News search scans the Internet for news stories.
- Video search is used for searching and returning video clips.
- Web search accesses the Yahoo! search results for web pages.
- Choose the web service(s) needed for the application. Depending on what type of application you're building, one or more web services might be needed.
A few important things to keep in mind when designing your application:
- Most web services allow no more than the first 1,000 results.
- Yahoo! limits the aggregate number of queries across all web services to 5,000 per application ID.
- To save on requerying the same data over a short period of time (when the data wouldn't be changing), consider using a cache of previous queries.