[API-users] Asynchronous download DwCA format no publishingOrgKey
eagbayani at eol.org
Thu Aug 16 15:55:26 CEST 2018
Yes, that will work for us.
Will use the dataset API to get publishingOrgKey.
We've actually already cached the ~20K dataset calls, so we are good.
On Thu, Aug 16, 2018 at 9:22 AM, Matthew Blissett <mblissett at gbif.org>
> Dear Eli,
> I don't know why it is this way, according to our API the term
> publishingOrgKey is "not exposed in user downloads":
> Given a datasetKey (which is in the DwCA format), you can query for the
> publishingOrganizationKey with a query like http://api.gbif.org/v1/
> dataset/2814930a-3b93-48d6-b887-00979481ac9e, for example using "curl"
> and "jq":
> curl -Ss http://api.gbif.org/v1/dataset/2814930a-3b93-48d6-
> b887-00979481ac9e | jq .publishingOrganizationKey
> There are 20,000 datasets in a complete download, so making these queries
> and caching the result will probably be faster than using both download
> Best regards,
> Matt Blissett
> On 12/08/18 20:40, Eli Agbayani wrote:
> Dear GBIF,
> Is there a reason why the Asynchronous download DwCA format doesn't have
> publishingOrgKey while the CSV format has it.
> We want to use the DwCA format because of the multimedia addition but
> realized the publishingOrgKey was missing.
> Hopefully publishingOrgKey will be included in the DwCA format so we don't
> need to download both formats.
> API-users mailing listAPI-users at lists.gbif.orghttps://lists.gbif.org/mailman/listinfo/api-users
> API-users mailing list
> API-users at lists.gbif.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the API-users