Skip to content

feat: Implements the SDK for HamroCDN#2

Merged
achyutkneupane merged 34 commits intomasterfrom
php-implementations
Oct 28, 2025
Merged

feat: Implements the SDK for HamroCDN#2
achyutkneupane merged 34 commits intomasterfrom
php-implementations

Conversation

@achyutkneupane
Copy link
Copy Markdown
Member

No description provided.

Enhances HamroCDN functionality by implementing methods for listing and retrieving files.
…tion

Includes GuzzleHttp client initialization with default settings.
Implements methods for GET and POST requests with JSON response decoding.
…olution

This change integrates the HasConfigValues trait into the HamroCDN class, streamlining the API key and base URL resolution process.
Adds user status, deletion timestamp, and original file information
to the data structure returned by HamroCDN methods for improved
file management and clarity.
Enhances the HamroCDN index method to fetch uploads instead of hardcoded values. Adds tests to validate the structure of the returned data.
Enhances the index method to accept optional pagination parameters for improved data retrieval.
Implements functionality to upload files by URL and return HamroCDN object.
Includes checks for missing API key and invalid JSON responses.
@achyutkneupane achyutkneupane merged commit 638fb6e into master Oct 28, 2025
6 checks passed
@achyutkneupane achyutkneupane deleted the php-implementations branch October 28, 2025 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant