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']
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
Release history Release notifications | RSS feed
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.dev3.tar.gz
(1.3 kB
view hashes)