https://pagure.io/libpagure/
We will be using the above python module.
>>> import libpagure >>> p = libpagure.Pagure(pagure_token='THEKEYTOKENWHATEVER', pagure_repository='atomic-images') >>> p.list_issues() [] >>> p.create_issue(title='this image: f23', content='Failed failed',private=None) >>> p.list_issues() [{u'status': u'Open', u'blocks': [], u'tags': [], u'title': u'this image: f23', u'comments': [], u'content': u'Failed failed', u'assignee': None, u'depends': [], u'private': False, u'date_created': u'1446058192', u'id': 1, u'user': {u'fullname': u'Kushal Das', u'name': u'kushal'}}]
Log in to comment on this ticket.