ralphtheninja / Ghreleases
Licence: mit
Interact with the GitHub releases API.
Stars: ✭ 26
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Ghreleases
Vk To Telegram
Utility to forward posts from VK through callback API to telegram channel or chat
Stars: ✭ 24 (-7.69%)
Mutual labels: api
Django apistar
Django App to integrate API Star's routes and views into Django's ecossystem.
Stars: ✭ 25 (-3.85%)
Mutual labels: api
Geocoder
🌎 GoLang package that provides an easy way to use the Google Geocoding API
Stars: ✭ 23 (-11.54%)
Mutual labels: api
Yet Another Rest Client
YARC (Yet Another REST Client) is an easy-to-use REST Client for Google Chrome.
Stars: ✭ 23 (-11.54%)
Mutual labels: api
Go Base
Go RESTful API Boilerplate with JWT Authentication backed by PostgreSQL
Stars: ✭ 928 (+3469.23%)
Mutual labels: api
Web Dev Resources Wiki
A collection of my favorite resources for web development, design, and frameworks
Stars: ✭ 22 (-15.38%)
Mutual labels: api
Indian Courier Api
API to track parcel from various Indian Logistics Providers
Stars: ✭ 26 (+0%)
Mutual labels: api
Kona
a node.js service framework built on koa.js (generators)
Stars: ✭ 23 (-11.54%)
Mutual labels: api
Platform Documentation
Core Platform API Documentation & Tutorials
Stars: ✭ 25 (-3.85%)
Mutual labels: api
Swaddle
Automagically create API clients/wrappers in JavaScript
Stars: ✭ 23 (-11.54%)
Mutual labels: api
Lor
a fast, minimalist web framework for lua based on OpenResty
Stars: ✭ 930 (+3476.92%)
Mutual labels: api
Forge Server Utils
Tools for accessing Autodesk Forge APIs from modern Node.js apps.
Stars: ✭ 23 (-11.54%)
Mutual labels: api
Cryptocompare Api
Jupyter Notebook with examples of useful CryptoCompare API calls
Stars: ✭ 25 (-3.85%)
Mutual labels: api
Alpaca Trade Api Python
Python client for Alpaca's trade API
Stars: ✭ 912 (+3407.69%)
Mutual labels: api
Trumail
✉️ ✅ A Fast and Free Email Verification API written in Go
Stars: ✭ 937 (+3503.85%)
Mutual labels: api
Offit
Simple but powerful API mocking library. Make mocks great again.
Stars: ✭ 25 (-3.85%)
Mutual labels: api
Lambda Api
Lightweight web framework for your serverless applications
Stars: ✭ 929 (+3473.08%)
Mutual labels: api
ghreleases
Interact with the GitHub releases API.
API
list(auth, org, repo[, options], cb)
List all releases for a repo. Calls back with an array of releases.
const gh = require('ghreleases')
const auth = {
token: '90230948aef88723eca2309880fea09789234',
user: 'ralphtheninja'
}
gh.list(auth, 'level', 'leveldown', (err, list) => {
console.log(list)
})
GitHub docs.
getLatest(auth, org, repo[, options], cb)
Get latest release.
gh.getLatest(auth, 'level', 'leveldown', (err, release) => {
console.log(release)
})
GitHub docs.
getById(auth, org, repo, id[, options], cb)
Get data for a single release.
gh.getById(auth, 'level', 'leveldown', '1363866', (err, release) => {
console.log(release)
})
GitHub docs.
getByTag(auth, org, repo, tag[, options], cb)
Get release by tag.
gh.getByTag(auth, 'level', 'leveldown', 'v1.2.2', (err, release) => {
console.log(release)
})
GitHub docs.
create(auth, org, repo, data[, options], cb)
Create a release.
const data = {
tag_name: '1.2.3-test',
name: 'Release name for 1.2.3-test',
body: 'Body text of release goes here'
}
gh.create(auth, 'level', 'leveldown', data, (err, release) => {
console.log(release)
})
The release on GitHub would then look as follows:
GitHub docs
uploadAssets(auth, org, repo, release, files[, options], cb)
Upload assets to a release. Calls back with an array of results for each upload request.
- The
release
parameter accepts either a releaseid
,'latest'
or a valid ref, e.g.'tags/v1.0.0'
- The
files
parameter is an array of absolute file paths that should be uploaded and associated with this release
const ref = 'tags/v1.3.0'
const files = [
'/path/to/README.md',
'/path/to/prebuilt/binary.tar.gz'
]
gh.uploadAssets(auth, 'level', 'leveldown', ref, files, (err, res) => {
console.log(res)
})
GitHub docs
Also See
For interacting with other parts of the GitHub API, check out the modules below.
License
MIT
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].