/webservice-discourse

Use Discourse API in Perl

Primary LanguagePerl

WebService::Discourse

Build Status Build status

Use Discourse REST API in Perl.

Note: This is currently experimental and API may change. Please DO NOT use in a production environment.

Example

use Modern::Perl;
use WebService::Discourse;

my $discourse = WebService::Discourse->new;
say $discourse->latest_topics;
say $discourse->categories;

For more examples, please see examples.

Installation

  • Install this module using cpanm:
$ cpanm WebService::Discourse

Testing

  • To run tests:
$ dzil test

See Also

Author

Ahmad M. Zawawi, azawawi.

License

MIT License