WebAPI.vim


Ⅰ. 插件描述

vim interface to Web API

Ⅱ. 基本信息

创建日期:  2010-09-16
使用用户:  2457
Github星:  541
插件作者:  Yasuhiro Matsumoto

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'mattn/webapi-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'mattn/webapi-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'mattn/webapi-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/mattn/webapi-vim

Ⅳ. 文档说明

# webapi-vim

An Interface to WEB APIs.

Description

Currently this library supports the following protocols:

  • Basic HTTP
  • OAuth
  • Atompub
  • SOAP (in progress)
  • XMLRPC
  • MetaWeblog API

This library contains:

  • XML Parser
  • HTML Parser(Hack Way)
  • JSON Parser
  • BASE64 Hash Algorithm
  • SHA1 Hash Algorithm
  • HMAC HASH Algorithm
  • Bit Operation Library
  • Converter for "UTF-8 to Unicode"

Installation

Copy the files in this library to your .vim directory. Alternatively, if you
use pathogen, copy this folder to your .vim/bundle directory.

Requirements

You need the curl command, which can be downloaded from here: http://curl.haxx.se/

*or*

the wget command, available here: https://www.gnu.org/software/wget/

Thanks

Yukihiro Nakadaira : http://sites.google.com/site/yukihironakadaira/

  • autoload/base64.vim (I added small changes)
  • autoload/hmac.vim
  • autoload/sha1.vim

License

Public Domain

Project Authors

Yasuhiro Matsumoto (a.k.a mattn)

添加新评论