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: 8 days 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-26T11:49:03.000Z (about 6 years ago)
- Last Synced: 2025-10-29T06:33:44.394Z (4 months ago)
- Topics: emby, github-graphql, go, golang
- Language: Go
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- 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_key
Then 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.9
Looking 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