Download the PHP package sigwin/reddit-client without Composer
On this page you can find all versions of the php package sigwin/reddit-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sigwin/reddit-client
More information about sigwin/reddit-client
Files in sigwin/reddit-client
Package reddit-client
Short Description Reddit.com API
License MIT
Homepage https://github.com/sigwinhq/reddit-client
Informations about the package reddit-client
RedditClient
Reddit.com API
For more information, please visit https://ssl.reddit.com/dev/api.
Installation & Usage
Requirements
PHP 7.4 and later. Should also work with PHP 8.0.
Composer
To install the bindings via Composer, add the following to composer.json
:
Then run composer install
Manual Installation
Download the files and include autoload.php
:
Getting Started
Please follow the installation procedure and then run the following:
API Endpoints
All URIs are relative to https://oauth.reddit.com
Class | Method | HTTP request | Description |
---|---|---|---|
ThingApi | getInfo | GET /api/info | Get thing info |
UserApi | getAbout | GET /user/{username}/about | Returns the identity of a user. |
UserApi | getSaved | GET /user/{username}/saved | Get user saved things |
UserApi | me | GET /api/me | Returns the identity of the current user. |
Models
- Listing
- ListingEnvelope
- Thing
- ThingData
- User
- UserData
Authorization
Authentication schemes defined for the API:
oauth2
- Type:
OAuth
- Flow:
accessCode
- Authorization URL:
/authorize
- Scopes: N/A
Tests
To run the tests, use:
Author
About this package
This PHP package is automatically generated by the OpenAPI Generator project:
- API version:
1.1.0
- Build package:
org.openapitools.codegen.languages.PhpClientCodegen
All versions of reddit-client with dependencies
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^2.0