MCPcopy Create free account
hub / github.com/HzaCode/OneCite / json

Method json

tests/mock_responses.py:163–166  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

161 self.ok = status_code == 200
162
163 def json(self):
164 if self.json_data is None:
165 raise ValueError("No JSON data")
166 return self.json_data
167
168 def raise_for_status(self):
169 if self.status_code >= 400:

Callers 15

get_github_starsFunction · 0.45
_extract_github_infoMethod · 0.45
_extract_zenodo_infoMethod · 0.45
_query_dataciteMethod · 0.45
_search_pubmed_by_idMethod · 0.45
_search_pubmedMethod · 0.45
_search_crossrefMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected