Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmalek/go-github-graphql
Get latest release from Emby's github
https://github.com/pmalek/go-github-graphql
emby github-graphql go golang
Last synced: about 2 months ago
JSON representation
Get latest release from Emby's github
- Host: GitHub
- URL: https://github.com/pmalek/go-github-graphql
- Owner: pmalek
- License: gpl-3.0
- Created: 2020-01-26T11:19:33.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-26T11:49:03.000Z (almost 5 years ago)
- Last Synced: 2024-05-02T05:26:32.332Z (8 months ago)
- Topics: emby, github-graphql, go, golang
- Language: Go
- Size: 16.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-github-graphql
Get latest release from a github repository using [Github's GraphQL API](https://developer.github.com/v4/)
## How to build
go build -v -o app .
## How to use
Export your personal Github access token in `GITHUB_ACCESS_TOKEN` environment variable
in order to use Github's API [docs](https://developer.github.com/v4/guides/forming-calls/#authenticating-with-graphql).
As per Github docs the following scopes are needed:user
public_repo
repo
repo_deployment
repo:status
read:repo_hook
read:org
read:public_key
read:gpg_keyThen you can use the application as follows:
./app -repo github.com/MediaBrowser/Emby.Releases
4.4.0.9-beta: prerelease:true,
https://github.com/MediaBrowser/Emby.Releases/releases/tag/4.4.0.9Looking for emby-server-deb_4.4.0.9_amd64.deb...
emby-server-deb_4.4.0.9_amd64.deb: 69111666
Download URL: https://github.com/MediaBrowser/Emby.Releases/releases/download/4.4.0.9/emby-server-deb_4.4.0.9_amd64.deb