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

PtabDecision not returning all data #172

Open
haoopeng opened this issue Jun 18, 2024 · 2 comments
Open

PtabDecision not returning all data #172

haoopeng opened this issue Jun 18, 2024 · 2 comments

Comments

@haoopeng
Copy link

Hello Team,

Thanks for creating such a convenient API. I'm using the PtabDecision function to get the appeal data using code: PtabDecision.objects.filter(proceeding_type_category = "appeal"). However, it returns limited data fields compared to what I can get using the official PTAB API (see the screenshot). The PtabDecision function does return more records than the official API though (which retrieves less than 500 records). Any idea on how to access more detailed data fields when using the PtabDecision function? Thanks for any help!

Screenshot 2024-06-18 at 09 49 34
@parkerhancock
Copy link
Owner

Hey! Thanks for the note!

You are correct that the PtabDecision model doesn't model all those parameters. In my personal use of the PTAB API, I usually use the proceeding, rather than the decision endpoint.

If you want, I'm happy to approve a PR to add those fields to the PTAB model. You just need to modify this file, specifically adding those fields to the PtabDecision object.

Or, you can traverse the decision back to the proceeding, and get the application number, just do this:

>>> res = PtabDecision.objects.filter(proceeding_type_category="appeal")
>>> decision = res.first()
>>> decision.proceeding.respondent_application_number_text
"15579556"

@haoopeng
Copy link
Author

Hi Parker,

Thanks for your prompt reply! That's awesome to work around the data. I've send a PR. Let me know if it's working. Thanks!

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

No branches or pull requests

2 participants