Welcome to Nif Tools’s documentation!¶
Danger
Limited functionality for mi and sa
NIF Tools¶
A set of tools based upon requests to programatically interact with the web instances at minidrett, ka and sa.nif.no.
This is a python module which offers a method of interacting with membership data and services without having access to the webservices offered by NIF.
Norges Luftsportforbund has built several services around the tools like an Oauth2 authentication server (passbuy), automatic handling of inbox (ka), verifying correct products etc
Login:
from nif_tools import passbuy
pb = Passbuy(username='username', password='password', realm='mi', verify=True)
status, person_id, fed_cookie_jar = pb.login()
if status is True:
print('Person Id:', person_id)
Get list of clubs from KA:
from nif_tools import KA
ka = KA(username='username', password='password')
clubs = ka.get_clubs()
Passbuy
Common functions
Module index
Indices and tables¶
Recent Changes¶
- Branch
- master
- Commit
version bump by Einar at 2020-03-08 18:25:29
version bump by Einar at 2020-03-08 18:21:02
Typo by Einar at 2020-03-08 18:13:05
Updated docs by Einar at 2020-03-08 18:11:13
python-dateutil by Einar Huseby at 2020-03-04 12:58:05
Removed json dep by Einar Huseby at 2020-03-04 12:56:52
Typo by Einar Huseby at 2020-03-04 12:01:57
Adding dist by Einar Huseby at 2020-01-06 21:31:57
Cleaning up docs by Einar Huseby at 2020-01-06 21:31:46
Adding note about limited functionality by Einar Huseby at 2020-01-06 20:55:21