Download the PHP package aternos/blob-build-api without Composer
On this page you can find all versions of the php package aternos/blob-build-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download aternos/blob-build-api
More information about aternos/blob-build-api
Files in aternos/blob-build-api
Package blob-build-api
Short Description PHP client for the blob.build API. This client is based on OpenAPI.
License MIT
Homepage https://github.com/aternosorg/php-blob-build-api
Informations about the package blob-build-api
Aternos/php-blob-build-api
An API client for the blob.build API written in PHP. This client is a combination of code generated by OpenAPI Generator and some wrappers around it to improve the usability.
The generated code can be found in src/Api and src/Model. It is recommended
to use the Wrappers in src/Client instead of the generated code.
Installation
Install the package via composer:
Usage
The main entry point for the API is the BlobBuildAPIClient class.
Projects
Listing all projects
You can list all projects using the listProjects method.
Searching for projects
To search for projects, you can use the searchProjects method with a search query.
Fetching a specific project
To fetch a specific project, you can use the getProject method with the project's name.
Unlike the projects retrieved from listProjects and searchProjects, this method does not contain the project owner.
Builds
Listing all builds for a project
You can list all builds for a project using the getProjectBuilds method with the project's name. This returns an array
where the keys are the name of a release channel and the values are arrays of builds for that channel.
Fetching the latest build for a project
You can also fetch the latest build for a project in a specific channel.
Fetching a specific build
Updating the generated code
The generated code can be updated by installing the openapi generator and running the following command:
All versions of blob-build-api with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.4.5
guzzlehttp/psr7 Version ^2.0