All Projects → wsdjeg → Github.vim

wsdjeg / Github.vim

Licence: mit
Another github v3 api implemented in vim script

Projects that are alternatives of or similar to Github.vim

Insomnia
The open-source, cross-platform API client for GraphQL, REST, and gRPC.
Stars: ✭ 18,969 (+10043.85%)
Mutual labels:  api, curl
Requester
Powerful, modern HTTP/REST client built on top of the Requests library
Stars: ✭ 273 (+45.99%)
Mutual labels:  api, curl
Httpie
As easy as /aitch-tee-tee-pie/ 🥧 Modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more. https://twitter.com/httpie
Stars: ✭ 53,052 (+28270.05%)
Mutual labels:  api, curl
Activity
A PHP API to log anything anywhere
Stars: ✭ 44 (-76.47%)
Mutual labels:  api, curl
Unifi Api Browser
Tool to browse data exposed by Ubiquiti's UniFi Controller API (demo: https://api-browser-demo.artofwifi.net/)
Stars: ✭ 677 (+262.03%)
Mutual labels:  api, curl
Ocrserver
A simple OCR API server, seriously easy to be deployed by Docker, on Heroku as well
Stars: ✭ 359 (+91.98%)
Mutual labels:  api, curl
Php Curl Class
PHP Curl Class makes it easy to send HTTP requests and integrate with web APIs
Stars: ✭ 2,903 (+1452.41%)
Mutual labels:  api, curl
Unifi Api Client
A PHP API client class to interact with Ubiquiti's UniFi Controller API
Stars: ✭ 602 (+221.93%)
Mutual labels:  api, curl
Httr
httr: a friendly http package for R
Stars: ✭ 897 (+379.68%)
Mutual labels:  api, curl
Curlx
◼️ Supercharge curl with history, collections and more.
Stars: ✭ 169 (-9.63%)
Mutual labels:  api, curl
Riot Api Java
Riot Games API Java Library
Stars: ✭ 184 (-1.6%)
Mutual labels:  api
Vim Glsl
Vim runtime files for OpenGL Shading Language
Stars: ✭ 184 (-1.6%)
Mutual labels:  viml
Alidayu
阿里大于(鱼)API接口-SDK
Stars: ✭ 186 (-0.53%)
Mutual labels:  api
W3m.vim
w3m plugin for vim
Stars: ✭ 186 (-0.53%)
Mutual labels:  viml
Linebot
🤖 SDK for the LINE Messaging API for Node.js
Stars: ✭ 184 (-1.6%)
Mutual labels:  api
Stock Market India
API for Indian Stock Market's NSE and BSE.
Stars: ✭ 185 (-1.07%)
Mutual labels:  api
Demo
Demo app for the API Platform framework
Stars: ✭ 184 (-1.6%)
Mutual labels:  api
Fbrecog
An unofficial python wrapper for the Facebook face recognition endpoint
Stars: ✭ 184 (-1.6%)
Mutual labels:  api
Apicheck
The DevSecOps toolset for REST APIs
Stars: ✭ 184 (-1.6%)
Mutual labels:  api
Rest980
REST interface to control your iRobot Roomba 980 via local server on your lan.
Stars: ✭ 186 (-0.53%)
Mutual labels:  api

GitHub.vim

Another github v3 api implemented in viml

Build Status codecov Gitter Version 0.1.2 Support Vim 7.4 or above MIT License Doc

Intro

This is a viml library to access the Github API v3. With it, you can manage Github resources (repositories, user profiles, organizations, etc.) from viml scripts.

It is WIP, it will covers the full API.

Throughput Graph

If you have any question, any remark, or if you find a bug, or if there is something you can do with the API but not with Github-api.vim, please open an issue.

Install

It is easy to install the lib via dein:

call dein#add('wsdjeg/GitHub.vim')

NOTE: For unauthenticated requests, the rate limit allows for up to 60 requests per hour. Unauthenticated requests are associated with the originating IP address, and not the user making requests.Increasing the unauthenticated rate limit, you need Create OAuth app, and set EVN: CLIENTID and CLIENTSECRET.

Usage

create issue:

function! CreateIssue(owner, repo) abort
    let username = input('your github username:')
    let password = input('your github password:')
    let title = input('Issue title: ')
    let issue = {
                \ 'title': title,
                \ 'body': s:body(),
                \ }
    let response = github#api#issues#Create(a:owner, a:repo,
                \ username, password, issue)
    if !empty(response)
        echomsg 'Create successed! ' . response.url
    else
        echom 'Create failed!'
    endif
endfunction

func! s:body()
    return 'Testting Github.vim...'
endf
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].