Skip to main content

FreeHackQuest Python Client Library for fhq-server

Project description

libfhqcli-py

FreeHackQuest Python Client Library for fhq-server: https://github.com/freehackquest/backend.git

Example usage

import libfhqcli

fhq = libfhqcli.FHQCli("ws://localhost:1234/") // or "ws://freehackquest.com:1234" or "ws://freehackquest.com/ws-api/"
fhq.login({"email": "user@mailussr.su", "password": "user"})
if resp == None:
  print('Could not login as user (1)')

if resp['result'] == 'FAIL':
  print('Could not login as user (1)')

print("user info: " + str(resp));
q = fhq.quest({"questid": 148})
print("quest: " + str(q));
fhq.close();

Full description API here: API.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
libfhqcli-0.2.16-py2-none-any.whl (6.2 kB) Copy SHA256 hash SHA256 Wheel py2
libfhqcli-0.2.16.tar.gz (6.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page