Constitutional Clause
Filter cases by constitutional clause
Filter by constitutional clause (constitutional_clause_id).
GET https://clearinghouse.net/api/v2/case?issue_constitutional_clause=constitutional_clause_id
Query Parameters
cause_of_action*
integer
case type (see list below for list of integers and its mapped values)
Headers
Authorization*
String
Authorization
Token XXXXXXXXXXX
where
XXXXXXXXXXX
is the token string
\\ Examples of:
\\ No results, key not found, or invalid parameter
\\ No results
\\ Example query endpoint: /api/v2/cases/?case_id=1&case_ongoing=1
["No results for {'case_id': '1', 'case_ongoing': '1'}"]
\\ Key not found
\\ Example query endpoint: /api/v2/cases?test_key=1
["API Error: Key: test_key, Value: 1 not found."]
\\ Example query endpoint: /api/v2/cases/?case_id=xyz
["API Error: zxy is not an integer."]{
"detail":"Authentication credentials were not provided."
}Supported constitutional clause IDs (constitutional_clause_id):
5314
Due Process
5315
Ex Post Facto
5317
Self-incrimination
5316
Right to travel
5336
Full faith and credit
5364
Suspension Clause
5363
Due Process: Substantive Due Process
5347
Excessive bail/fines
5348
Slavery/Involuntary servitude
5361
Petitions clause
5571
Cruel and Unusual Punishment
5537
Equal Protection
5598
Emoluments Clauses
5587
Takings
5581
Supremacy Clause
5373
Enumerations Clause
5362
Due Process: Procedural Due Process
38546
Fifteenth Amendment
5510
Establishment Clause
5475
Federalism (including 10th Amendment)
5511
Freedom of speech/association
5509
Free Exercise Clause
5445
Unreasonable search and seizure
For more information about constitutional clauses, see Constitutional Clause.
Example
https://clearinghouse.net/api/v2/case?issue_constitutional_clause=5571import requests
url = "https://clearinghouse.net/api/v2/case?issue_constitutional_clause=5165"
headers = { 'Authorization': 'Token XXXXXXXXXX',
'User-Agent': 'Chrome v22.2 Linux Ubuntu'
}
response = requests.request("GET", url, headers=headers, data={})
print(response.text)Last updated