parsec-client

0.0.4 • Public • Published

Parsec Client - For Parsec Gaming API

Usage

const parsecClient = require('parsec-client')
 
parsecClient.start({
    email: 'my-parsec-email',
    password: 'my-parsec-password',
    host: 'parsec-server-hostname' // that you want to connect to
})
 
setTimeout(() => {
    parsecClient.stop()
}, 10000) // stop the client connection after 10 seconds

Parsec Gaming daemon needs to be running for this to work.

If you do not know the hostname of the parsec server you want to connect to, you can write any string there and will get an error and the list of all available servers.

Readme

Keywords

none

Package Sidebar

Install

npm i parsec-client

Weekly Downloads

0

Version

0.0.4

License

none

Unpacked Size

5.92 kB

Total Files

3

Last publish

Collaborators

  • jaruba