Skip to main content

Python libraries for University of Helsinki internal services

Project description

Python interface to Helsingin yliopisto

Collection of tools to collect information from various University of Helsinki data sources via their public (unofficial) APIs.

People search

This pulls data from the People Finder.

from pyhy import people
matti = people.search('Matti Nelimarkka')
print( "Call Matti", matti['mobileNumber'] )
print( "Matti works at", matti['researchOrganization'][-1]['name'])

csds_org_id = matti['researchOrganization'][-1]['id']
csds = people.by_organisation( csds_org_id  )

for member in csds:
  print('Also working at CSCS:', member['firstnames'] + ' ' + member['lastname'])

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

py4hy-0.0.1.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

py4hy-0.0.1-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

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