Created
January 15, 2019 16:18
-
-
Save tom-montgomery/edb837919308260817e0d2ef3d256e7b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
payload = {'data': | |
{'type': | |
'dois', | |
'attributes': | |
{'doi': | |
'{}'.format(doi), | |
'url': | |
'{}'.format(metadata['permalink'].item()), | |
'xml': | |
'{}'.format(xml_encoded) | |
}, | |
'relationships': | |
{'client': | |
{'data': | |
{'type': | |
'clients', | |
'id': 'AUSTINTX.ATXDR'} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment