Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Parser for latest GitHub release #43

Closed
Soitora opened this issue Sep 24, 2019 · 3 comments
Closed

Parser for latest GitHub release #43

Soitora opened this issue Sep 24, 2019 · 3 comments
Labels
Help Wanted Help wanted with Issue/PR.

Comments

@Soitora
Copy link
Member

Soitora commented Sep 24, 2019

I'd like someone to make a parser in a way that allows us to have a button that downloads the latest .apk from GitHub. Using the /release URL isn't possible as it only allows direct-download if you specify the filename, but since we use the version in the APK filename that is a no-go.

The wanted tags is tag_name and browser_download_url from https://api.github.com/repos/inorichi/tachiyomi/releases/latest.

If you can, make a makeshift button for the front-page like the Get Started button that downloads APK directly.

@Soitora Soitora added Feature Help Wanted Help wanted with Issue/PR. labels Sep 24, 2019
@alessandrojean
Copy link
Contributor

I can help with that. Since it will require creating a custom layout, it will make #44 easier later.

@arkon
Copy link
Contributor

arkon commented Sep 24, 2019

You pretty much just need to make a request for that URL, parse the JSON (e.g. with JSON#parse), then grab the fields from the resulting JS object.

@alessandrojean
Copy link
Contributor

That's what I am doing :)

@arkon arkon closed this as completed Sep 25, 2019
arkon pushed a commit that referenced this issue Sep 10, 2023
* Add initial analytics for downloads.

* Change analytics events and enable it.

* Change to a custom ID.

* Use custom analytics plugin.

* Bound gtag to window.

* Update id for `kodo.moe`.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Help Wanted Help wanted with Issue/PR.
Projects
None yet
Development

No branches or pull requests

3 participants