0.0.4 • Published 4 years ago

parsec-client v0.0.4

Weekly downloads
18
License
-
Repository
github
Last release
4 years ago

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.

0.0.4

4 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago