Skip to main content

Python-based utilities for KF5.

Project description

===========
KF5 API
===========

A python package to access KF5 data via its API.

#!/usr/bin/env python

import kf5py

conn = kf5py.connection('http://localhost:8080/kforum/','username','password')
print conn.is_valid()
section_ids = conn.get_section_ids()
views = conn.get_views_by_sectionid(section_ids[0])

for view in views:
viewjson = conn.get_view_by_viewid(view['guid'])
for vpr in viewjson['viewPostRefs']:
print vpr['location']

Project details


Download files

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

Source Distribution

kf5py-0.1.dev1.tar.gz (1.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page