Skip to content

phlnx/reddit-api-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Composer library for posting Reddit links to the developer account programmatically.

https://www.reddit.com/dev/api/

Usage

  • create an app on Reddit
  • composer require slavicd/reddit-api-client:*@dev
<?php
require 'vendor/autoload.php';
$rdtClient = new Entropi\RedditClient\Client($config);  // see code for required $config keys
$rdtClient->submit('technology', 'Post about technology', 'self', null, 'Hello world!');

Contributing

Accompany your PRs with relevant tests.

About

A rudimentary PHP Reddit client

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%