Devfourm A Discourse API

Github

Intro

Insted of using request to get a player’s information.

I made a Libary to do some stuff.

Example Usage

let devfourm = require('devfourm')
devfourm.GetUserInfo('bacionhairmanfur2').then(function(user){
    console.log(user.location) // --> florida
})

Installing

npm install devfourm
2 Likes

A lot of these modules utilize the admin API (which most people don’t have access to). Who is the target audience for this module?

6 Likes

Looks cool I guess, though here’s a few suggestions

camelCase function names - Looks cleaner in my eyes
Add functions that normal users can do, like createTopic(cat, title, description)

Update Log

README.md

Updating

npm update devfourm

Bugs, for the postinstall, sorry for the message.