Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Given an org ID, find the publisher #1

Open
andylolz opened this issue Dec 5, 2018 · 0 comments
Open

Given an org ID, find the publisher #1

andylolz opened this issue Dec 5, 2018 · 0 comments
Labels
feature Cool stuff I’d like this library to be able to do

Comments

@andylolz
Copy link
Member

andylolz commented Dec 5, 2018

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
@andylolz andylolz added the feature Cool stuff I’d like this library to be able to do label Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Cool stuff I’d like this library to be able to do
Projects
None yet
Development

No branches or pull requests

1 participant