Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for the Image Details endpoint #344

Merged
merged 5 commits into from
Feb 11, 2025
Merged

Conversation

stellasphere
Copy link
Contributor

@stellasphere stellasphere commented Dec 1, 2024

Description

This PR adds support for the Image Details endpoint on the API to the Python SDK: https://docs.roboflow.com/api-reference/images/image-details

Example:

import roboflow
rf = roboflow.Roboflow(api_key="YOUR_API_KEY")
project = rf.workspace().project("PROJECT_ID")
image_details = project.image("image-id")

Also adds tests

Type of change

  • New feature (non-breaking change which adds functionality)

How has this change been tested, please provide a testcase or example of how you tested the change?

Tested locally + externally here: https://colab.research.google.com/drive/1PMUgiSA-S-OO6F1I_k27Me282_aeJyEO?usp=sharing

Test added and ran

Any specific deployment considerations

For example, documentation changes, usability, usage/costs, secrets, etc.

Docs

  • Docs updated? What were the changes:

@tonylampada tonylampada requested a review from a team December 5, 2024 12:10
@lrosemberg lrosemberg self-requested a review February 11, 2025 14:23
Copy link
Contributor

@lrosemberg lrosemberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @stellasphere LGTM!

I've updated the branch with main branch and fixed a lint and bumped the version.

Copy link
Collaborator

@tonylampada tonylampada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving because lean pushed on it

@stellasphere stellasphere merged commit 5b46359 into main Feb 11, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants