-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
I have zero experience with this library (fetched via uv), but in attempting to use it (USApplication.objects.get()), I get the following error:
ConnectError: [Errno -5] No address associated with hostname
Looking through the stack trace, I found the following:
File ~/test/.venv/lib/python3.13/site-packages/patent_client/_sync/uspto/peds/api.py:113, in PatentExaminationDataSystemApi.create_query(self, query, query_fields, default_field, facet, return_fields, filter_query, minimum_match, sort, start, rows)
111 url = "https://ped.uspto.gov/api/queries"
112 logger.debug(f"POST {url}\n{params}")
--> 113 response = client.post(
114 url,
115 json=params,
116 headers={"Accept": "application/json"},
117 )
118 self.check_response(response)
119 return PedsPage.model_validate(response.json())
The URL does indeed not exist, and when I did a web search, it seems the API has changed:
https://data.uspto.gov/apis/transition-guide/peds
This is potentially related to issue #185, but I wasn't entirely sure, so decided to post a separate issue for this.
ehlekuser
Metadata
Metadata
Assignees
Labels
No labels