Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hoppfrosch/cgithub
AutoHotkey Implementation of the Github Rest-API v3 (https://developer.github.com/v3/)
https://github.com/hoppfrosch/cgithub
Last synced: 17 days ago
JSON representation
AutoHotkey Implementation of the Github Rest-API v3 (https://developer.github.com/v3/)
- Host: GitHub
- URL: https://github.com/hoppfrosch/cgithub
- Owner: hoppfrosch
- License: mit
- Created: 2019-05-16T05:02:45.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-16T05:29:42.000Z (over 5 years ago)
- Last Synced: 2024-11-01T11:42:12.274Z (2 months ago)
- Language: HTML
- Homepage: https://autohotkey-v2.github.io/log4ahk/
- Size: 469 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE_cGithub
Awesome Lists containing this project
README
# cGithub [![AutoHotkey2](https://img.shields.io/badge/Language-AutoHotkey2-red.svg)](https://autohotkey.com/)
This library uses [AutoHotkey Version 2](https://autohotkey.com/v2/). (Tested with [v2.0-a103-56441b52 x64 Unicode](https://www.autohotkey.com/boards/viewtopic.php?f=37&t=2120&start=40#p276644) or later)
## Description
AHK class **cGithub** for working with [Github](https://github.com/) from AHK. It's an implementation of [Github Rest-API v3](https://developer.github.com/v3/)
For more documentation see [Github Rest-API v3](https://developer.github.com/v3/) and the class itself
## Usage
Include `cGithub.ahk`from the `lib` folder into your project using standard AutoHotkey-include methods.
```autohotkey
#include
gh := new github("hoppfrosch", "[email protected]", "***YOUR_ACCESS_TOKEN***")
x := gh.releases.listReleasesForRepository("Autohotkey-V2", "log4ahk") ; get the JSON-Response from Github
obj := JSON.Load(x) ; Convert the JSON-String into AHK-object
```For usage examples have a look at the UnitTest-files in `t` folder and the Demo-Files in the `demos` folder
## Author
[[email protected]](mailto:[email protected])