Imageomics / pyMorphoSource

Python package to interact with morphosource
MIT License
2 stars 0 forks source link

Updates for MorphoSource API v0.6.0 #13

Closed johnbradley closed 11 months ago

johnbradley commented 11 months ago

Fixes facet filtering to use new query parameter format. Fixes file downloading to use new returned payload format. Adds get_thumbnail_url() method to Media object to return a URL for the thumbnail associated with the media.

egrace479 commented 11 months ago

The sample thumbnail is a blue cube, could I suggest an example with a thumbnail? I have a CC0 example I could update it with?

johnbradley commented 11 months ago

The sample thumbnail is a blue cube, could I suggest an example with a thumbnail? I have a CC0 example I could update it with?

Sure, feel free to change out the media ID in the README.

johnbradley commented 11 months ago

I guess I need to update the example output too. @egrace479 Can you tell me the media ID you are using?

egrace479 commented 11 months ago

I guess I need to update the example output too. @egrace479 Can you tell me the media ID you are using?

I was asking since it would be multiple suggestions. I have all the data handy, so I can just update the README directly.

egrace479 commented 11 months ago

@johnbradley I updated the README with the media ID and associated output.