https://github.com/azawawi/webservice-discourse
Use Discourse API in Perl
https://github.com/azawawi/webservice-discourse
discourse-api perl webservice
Last synced: 9 months ago
JSON representation
Use Discourse API in Perl
- Host: GitHub
- URL: https://github.com/azawawi/webservice-discourse
- Owner: azawawi
- Created: 2018-11-24T19:35:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-11T09:43:34.000Z (over 7 years ago)
- Last Synced: 2025-03-14T01:22:15.675Z (over 1 year ago)
- Topics: discourse-api, perl, webservice
- Language: Perl
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# WebService::Discourse
[](https://travis-ci.org/azawawi/webservice-discourse) [](https://ci.appveyor.com/project/azawawi/webservice-discourse/branch/master)
Use [Discourse](https://discourse.org) [REST API](https://docs.discourse.org/)
in Perl.
**Note: This is currently experimental and API may change. Please DO NOT use in
a production environment.**
## Example
```perl
use Modern::Perl;
use WebService::Discourse;
my $discourse = WebService::Discourse->new;
say $discourse->latest_topics;
say $discourse->categories;
```
For more examples, please see [examples](examples).
## Installation
- Install this module using [cpanm](https://metacpan.org/release/App-cpanminus):
```
$ cpanm WebService::Discourse
```
## Testing
- To run tests:
```
$ dzil test
```
## See Also
- [Ruby API for Discourse](https://github.com/discourse/discourse_api)
- [Discourse API Documentation (latest)](https://docs.discourse.org/)
## Author
Ahmad M. Zawawi, [azawawi](https://github.com/azawawi/).
## License
[MIT License](LICENSE)