Skip to content

Given an activity, find the publisher #2

Open
@andylolz

Description

@andylolz

E.g.:

import iatikit

activity_id = 'GB-COH-07676886-3'

activity = iatikit.data().activities.find(id=activity_id, fast=True)

print('IATI publisher "{pub_name}" has an activity with IATI ID: {activity_id}'.format(
    pub_name=activity.publisher.name,
    activity_id=activity_id))

# IATI publisher "Publish What You Fund" has an activity with IATI ID: GB-COH-07676886-3

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureCool stuff I’d like this library to be able to do

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions