class Disqussion::Applications

Public Instance Methods

listUsage(*args) click to toggle source

Returns the API usage per day for this application. @accessibility: public key, secret key @methods: GET @format: json, jsonp @authenticated: true @limited: false @return [Hashie::Rash] API usage per day for this application. @param application [Integer] Defaults to null @param days [Integer] Defaults to 30, Maximum length of 30 @example Returns the API usage per day for this application.

Disqussion::Client.applications.listUsage

@see disqus.com/api/3.0/applications/listUsage.json

# File lib/disqussion/client/applications.rb, line 15
def listUsage(*args)
  options = args.last.is_a?(Hash) ? args.pop : {}
  get('applications/listUsage', options)
end