Outputz API
Post your Outputz by API
You can post your Outputz by API.
- POST URI
- http://outputz.com/api/post
- Parameters
-
- key : Your secret key shown at Config page
- uri : URI of your Outputz
- size : Size of your Outputz
- Status
- The API returns HTTP status 200 if success, otherwise returns 400 or 500 with error message.
- Sample in Ruby
-
require 'net/http' uri = ARGV.shift size = ARGV.shift key = ARGV.shift Net::HTTP.start('outputz.com', 80) {|http| response = http.post('/api/post', "key=#{URI.encode(key)}&uri=#{URI.encode(uri)}&size=#{URI.encode(size)}") puts response.body puts response.code } - Sample in Gauche
-
(use rfc.http) (use rfc.uri) (define (main args) (receive (status header body) (http-post "outputz.com" "/api/post" (apply format "uri=~a&size=~d&key=~a" (map uri-encode-string (cdr args)))) (format #t "~a: ~a\n" status body))) - outputz.el for Emacs
-
Emacs Lisp which posts number of letters to Outputz.
outputz.el written by antipop.
- Outputz interface for Vim
-
Outputz interface for Vim written by Kana Natsuno.
- Outputz plugin for Eclipse
-
Outputz Eclipse Plugin written by Yoshiori.
- Outputz for Opera
-
outputz_for_opera.user.js written by mallowlabs.
- Other resources
-
Can be found at here
