status

description

status - returns the current status of the API Key and Engine

https://api.twase.com/KEY/VERSION/status

format

<twase> 
	<key>d3m04p1k3yf0r73571ngpurp05350nly</key> 
	<version>0.8</version> 
	<method>status</method> 
	<module></module> 
	<param></param> 
	<client_ip>0.0.0.0</client_ip> 
	<api_server>node-002</api_server> 
	<exec_time>8</exec_time> 
	<status> 
		<engine>ok</engine> 
		<qpm>60</qpm> 
		<enabled>1</enabled> 
		<total_calls>12</total_calls> 
		<last_min_calls>5</last_min_calls> 
		<remaining_calls>55</remaining_calls> 
	</status> 
</twase> 
  • <engine> - status of the Engine - 'ok', 'slow' or 'offline'
  • <qpm> - Queries Per Minute limit for this Key
  • <enable> - Key enabled state - 1=true and 0=false
  • <total_calls> - total calls made with this Key
  • <last_min_calls> - number of calls made in the last minute
  • <remaining_calls> - remaining calls that can be made (qpm - last_min_calls)
 
method/status.txt · Last modified: 2010/03/04 21:34 by james