• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

8. The eBay API > 125. Cache Listing Data to Improve API Efficiency

Cache Listing Data to Improve API Efficiency

Reduce the number of API calls your program makes and work within your daily API allotment.

One of the requirements of certification [Hack #102] is that your application or script does not make more calls or retrieve more data than is absolutely necessary. This is typically accomplished in any of three ways:

  • Restricting the result set to a specific date range [Hack #110]

  • Downloading only new entries by comparing the current total of entries with the total you recorded the last time the call was used [Hack #121]

  • Caching retrieved data so that it doesn’t have to be retrieved again, as described in this hack

Which data you cache and how you do it depends on the type of data you’re working with.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint