http://developer.dataunison.com/pages/developers_area/ebay_research_api/api_call_reference/getusagestats/getusagestats_example_usage.html
©2004-2008 Advanced Economic Research Inc. | Back to HTML
GetUsageStats Example Usage
Basic Example
This example shows how a hypothetical GetUsageStats call might look if we want to get statistics for our account from between March 15th and March 19th, 2006.
<GetUsageStats>
   <Version>1</Version>
   <RequesterCredentials>
      <Token>your token here </Token>
      <DeveloperName>your developer name here </DeveloperName>
      <UserToken>your user token here </UserToken>
   </RequesterCredentials>
   <Filters>
      <StartDate>2006-03-15</StartDate>
      <EndDate>2006-03-19</EndDate>
   </Filters>
</GetUsageStats>
The statistics below show that we made a total of 4624 calls between March 15th and 19th, with our highest total being on March 17th (1549 calls).
<GetUsageStats>
   <Timestamp>2006-03-21 12:34:12</Timestamp>
   <ProcessingTime>0.143</ProcessingTime>
   <Statistics>
      <TotalCalls>4624</TotalCalls>
      <DailyStatistics>
         <Calls date="2005-03-15">561</Calls>
         <Calls date="2005-03-16">997</Calls>
         <Calls date="2005-03-17">1549</Calls>
         <Calls date="2005-03-18">812</Calls>
         <Calls date="2005-03-19">705</Calls>
      </DailyStatistics>
   </Statistics>
</GetUsageStats>