1313e / PRISM

An alternative to MCMC for rapid analysis of models
https://prism-tool.readthedocs.io
BSD 3-Clause "New" or "Revised" License
46 stars 9 forks source link

getProject getShot command à la shotgun #9

Closed plboily closed 5 years ago

plboily commented 5 years ago

Hi, i am currently evaluating prism on the API side. Im looking everywhere and i dont see any "wrapper" command doing something like, getProjects() and getShots(project) or something like this.

Im a shotgun api user (sadly) and is way to get shots, assets, and versions is very nice. Do you have something equivalent?

Thanks a lot

1313e commented 5 years ago

@plboily I am really sorry, but I have absolutely no idea what you mean. Could you explain your enquiry in a bit more detail?

plboily commented 5 years ago

Hi, What I'm looking for is an API command to access basic element inside prism. So I want command to answer these questions:

1) Give me all the shots for this project ('proj1') 2) Give me all the version available for this specific shot (s001_00001)

I know I can use the UI to access the shots, but I'm wondering if you have simple python command to question prism about it?

Is it more clear now?

On Fri., Feb. 22, 2019, 7:15 p.m. Ellert van der Velden, < notifications@github.com> wrote:

@plboily https://github.com/plboily I am really sorry, but I have absolutely no idea what you mean. Could you explain your enquiry in a bit more detail?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/1313e/PRISM/issues/9#issuecomment-466592237, or mute the thread https://github.com/notifications/unsubscribe-auth/ApcNTGdSyABnABWZYuFiSoWe2_nLbDD2ks5vQIgmgaJpZM4bJz0M .

1313e commented 5 years ago

@plboily Thanks for your response. I'm currently having a bit of trouble understanding what you mean with "shot". Could you maybe give me a concrete example, such that we understand each other?

plboily commented 5 years ago

Im on the wrong Prism git-hub:

https://github.com/RichardFrangenberg/Prism

Sorry for that!!

On Sun., Feb. 24, 2019, 6:17 p.m. Ellert van der Velden, < notifications@github.com> wrote:

@plboily https://github.com/plboily Thanks for your response. I'm currently having a bit of trouble understanding what you mean with "shot". Could you maybe give me a concrete example, such that we understand each other?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/1313e/PRISM/issues/9#issuecomment-466828640, or mute the thread https://github.com/notifications/unsubscribe-auth/ApcNTAo6R1pxI_DSdS9wbHEDvY0UqmwDks5vQx2AgaJpZM4bJz0M .

1313e commented 5 years ago

@plboily Aha, that clears that up. No problem, just glad we figured that out.