Unverified Commit 1e20de91 authored by Stephen Rees's avatar Stephen Rees Committed by GitHub
Browse files

Update README.md

parent aac50d28
......@@ -50,9 +50,15 @@ $zenodo_file = $deposition->add_file('path_to_file');
$zenodo_file->filename('new name');
//provide metadata for the deposition
//provide minimum required metadata for the deposition (per API)
$deposition->metadata->title('My First Deposition');
$creator = new stdClass();
$creator->name = 'Family name, Given names';
$deposition->metadata->description('This is an example of how to create a deposition with the Zenodo API');
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment