• JSON web services for Synchronet.

    From art@VERT/FATCATS to All on Fri Aug 15 08:40:34 2014
    Ahoy, dearest pukes!

    Thought I'd post links to my latest mini-project:

    http://code.poorcoding.com/synchronet-json-web-services

    Ever wanted to call parts of the Synchronet API via web services?

    DESCRIPTION
    This provides a minimal set of web services for your Synchronet
    web server instances. It enables calls to parts of the
    Synchronet API for consumption by external services.

    It exposes what I consider to be public information, please ensure
    you are familiar with what data is shared using this and are
    comfortable with it being publically available.

    DEMO
    http://fatcatsbbs.com/json.html

    INSTALL
    - Drop json.xjs and json.html into the root of any Synchronet
    root/vhost web folder.

    CONTACT
    - E-mail:
    art, at fat cats bbs, dot com.

    - IRC:
    #synchronet on irc.bbs-scene.org.

    Enjoy!

    Kindest puke-gards,

    art@fatcatsbbsdotcom

    "You see lad, every moment of pleasure in life has to be purchased
    by an equal moment of pain."
    -- Danilo O'Dell to Worf in ST:TNG "Up The Long Ladder"

    ---
    þ Synchronet þ fatcats bbs - fatcatsbbs.com
  • From LaRRy LaGoMoRpH@VERT/GRUDGEDU to art on Fri Aug 15 15:21:06 2014
    Re: JSON web services for Synchronet.
    By: art to All on Fri Aug 15 2014 08:40 am

    Neat stuff art! Seems like the further you travel down that route the more cool stuff you'll be able to do with it, like maybe calling functions or using authentication so the former are more secure. I look forward to checking it out a little more.

    cheers

    ---
    þ Synchronet þ telnet to utureland.grudgemirror.com and check out our website for a sneak pre
  • From Kirkman@VERT/GUARDIAN to art on Sat Aug 16 00:00:28 2014
    DESCRIPTION
    This provides a minimal set of web services for your Synchronet
    web server instances. It enables calls to parts of the
    Synchronet API for consumption by external services.

    This looks pretty cool.

    In future, could it be used to let a JS game on my BBS website write scores back into a JSON DB?

    --Josh

    ////--------------------------------------------------
    BiC -=- http://breakintochat.com -=- bbs wiki and blog

    ---
    þ Synchronet
  • From LaRRy LaGoMoRpH@VERT/GRUDGEDU to Kirkman on Sat Aug 16 09:12:13 2014
    Re: Re: JSON web services for Synchronet.
    By: Kirkman to art on Sat Aug 16 2014 12:00 am

    In future, could it be used to let a JS game on my BBS website write scores back into a JSON DB?

    I'm still figruing out json-db myself, but it seems like with the way it works on port 10088 and can already accept some sort of remote calls from other boards, there might be away if you look at the code to make those sort of calls from the browser if you understood how it all worked. I could be wrong though, just making assumptions.

    cheers, llmorphg

    p.s. apologies for the spelling erros, i'm in a luosy terminal and i don't ave backspace and for some reason my fingers don't work like they're supposed to these days

    ---
    þ Synchronet þ telnet to utureland.grudgemirror.com and check out our website for a sneak pre
  • From art@VERT/FATCATS to LaRRy LaGoMoRpH on Sun Aug 17 14:37:52 2014
    Re: JSON web services for Synchronet.
    By: LaRRy LaGoMoRpH to art on Fri Aug 15 2014 15:21:06

    Ahoy LLMorph,

    Neat stuff art! Seems like the further you travel down that route the

    Thank you, sir.

    more cool stuff you'll be able to do with it, like maybe calling functions or using authentication so the former are more secure. I look forward to checking it out a little more.

    Definitely, if you check the documentation (README.txt), one of the items on the roadmap is the ability to authenticate for less public API calls, as well as the possibility to write data back to Synchronet.

    I will be pushing some commits soon(ish) this month, with rudimentary authenticated access.

    Kind regards,

    art@fatcatsbbsdotcom

    "Well, I always thought he would outlive us, by centuries."
    -- Geordi about Data in ST:TNG "The Most Toys"

    ---
    þ Synchronet þ fatcats bbs - fatcatsbbs.com
  • From art@VERT/FATCATS to Kirkman on Sun Aug 17 14:40:47 2014
    Re: Re: JSON web services for Synchronet.
    By: Kirkman to art on Sat Aug 16 2014 00:00:28

    Ahoy Kirkman,

    This looks pretty cool.

    Thank you, sir.

    In future, could it be used to let a JS game on my BBS website write
    scores back into a JSON DB?

    Indeed it could.

    Coming soon, authenticated access will enable things like writing data into a JSON DB.

    As previously suggested, it might be more straightforward to write to the JSON DB directly from within the JS game on your website, however depending on your purpose, JAWS could definitely have scope for that functionality in the
    future.

    Kind regards,

    art@fatcatsbbsdotcom

    "No power in the universe can hope to stop the force of evolution. Be
    warned. The execution of Mister Ramsey and his followers may elevate
    them to the status of martyrs. Martyrs cannot be silenced."
    -- Riker in ST:TNG "Angel One"

    ---
    þ Synchronet þ fatcats bbs - fatcatsbbs.com
  • From Android8675@VERT/SHODAN to art on Wed Aug 20 09:08:30 2014
    Re: JSON web services for Synchronet.
    By: art to All on Fri Aug 15 2014 08:40 am

    Thought I'd post links to my latest mini-project:
    http://code.poorcoding.com/synchronet-json-web-services

    Love it Art, nice work.


    ---
    þ Synchronet þ Shodan's Core - shodan.synchro.net:23 & :2323