codeforIATI / iatikit

🐨 A toolkit for using IATI data
https://iatikit.readthedocs.io
MIT License
6 stars 0 forks source link

Given an org ID, find the publisher #1

Open andylolz opened 5 years ago

andylolz commented 5 years ago

E.g.:

import iatikit

org_id = 'GB-COH-07676886'

org = iatikit.data().publishers.find(org_id=org_id)

print('IATI publisher "{org_name}" has org ID: {org_id}'.format(
    org_name=org.name,
    org_id=org_id))

# IATI publisher "Publish What You Fund" has org ID: GB-COH-07676886