Skip to content

spam the github api less #160

@mxcl

Description

@mxcl

We only need to fetch all tags/releases once, after that we have a specific version/tag and should after only fetch the data for that.

To fetch the release for a specific GitHub tag, you can use the GitHub API. Specifically, you can make a GET request to the GitHub API's "Releases" endpoint for the repository associated with the tag you're interested in.

Here's a concise explanation of the steps:

Compose the API endpoint URL for the specific repository and tag you want to fetch. The URL format will be: https://api.github.com/repos/{owner}/{repo}/releases/tags/{tag}.
Make a GET request to the constructed URL using your preferred programming language or tool. This request will return the release information associated with the specified tag.
The API response will be in JSON format, containing details such as the release name, description, assets (if any), and other relevant information.
By following these steps, you'll be able to fetch the release details for the specific GitHub tag you're interested in. As an experienced software engineer, you might be able to integrate this functionality into your projects or tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions