{
"states": [
"Alabama",
"Alaska",
"Arizona",
"Arkansas",
"California",
"Colorado",
"Connecticut",
"Delaware",
"District of Columbia",
"Florida",
"Georgia",
"Hawaii",
"Idaho",
"Illinois",
"Indiana",
"Iowa",
"Kansas",
"Kentucky",
"Louisiana",
"Maine",
"Maryland",
"Massachusetts",
"Michigan",
"Minnesota",
"Mississippi",
"Missouri",
"Montana",
"Nebraska",
"Nevada",
"New Hampshire",
"New Jersey",
"New Mexico",
"New York",
"North Carolina",
"North Dakota",
"Ohio",
"Oklahoma",
"Oregon",
"Pennsylvania",
"Rhode Island",
"South Carolina",
"South Dakota",
"Tennessee",
"Texas",
"Utah",
"Vermont",
"Virginia",
"Washington",
"West Virginia",
"Wisconsin",
"Wyoming"
]
}
curl --location --request POST 'https://zylalabs.com/api/9854/us+stupid+laws+info+extractor+api/18522/obtain+all+us+states+in+dataset' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
{
"Florida": [
"In Sarasota, it is illegal to sing in a public place while clad in a swimsuit.",
"A special law prohibits unmarried women from parachuting on Sunday or she shall risk arrest, fine, and/or jailing.",
"Florida law forbids rats to leave the ships docked in Tampa Bay.",
"In Hialeah, ambling and strolling is a misdemeanor.",
"If an elephant is left tied to a parking meter, the parking fee has to be paid just as it would for a vehicle.",
"In Florida failure to tell your neighbor his house is on fire is illegal.",
"In Florida it is illegal to fish while driving across a bridge.",
"It is illegal to skateboard without a license.",
"Women may be fined for falling asleep under a hair dryer, as can the salon owner.",
"It is illegal to break more than three dishes per day or chip the edges of more than four cups and/or saucers.",
"Owners of bars, restaurants, and other places where liquor is sold may be fined up to $1,000 if they participate in or permit any contest of 'dwarf-tossing.'"
]
}
curl --location --request POST 'https://zylalabs.com/api/9854/us+stupid+laws+info+extractor+api/18524/get+stupid+laws+for+state' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"state":"Required"}'
[
{
"Florida": "People who own bars, restaurants, and other places where liquor is sold may be fined up to $1,000 if they participate in or permit any contest of “dwarf-tossing.”"
}
]
curl --location --request POST 'https://zylalabs.com/api/9854/us+stupid+laws+info+extractor+api/18528/highlighted+stupid+laws+per+state' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"State":"Required"}'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 美国愚蠢法律信息提取器 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
美国愚蠢法律信息提取API允许开发者、研究人员和爱好者探索不同州文档中的奇怪、过时或不寻常的法律。该API的设计有分离州与其相关法律的端点,而不是通过一个较重的请求获取所有数据,使其在不同用例中高效灵活
美国愚蠢法律信息提取API提供了一个按美国州分类的奇怪和过时法律的集合,允许用户访问与每个州相关的特定法律。
API以结构化格式返回数据,通常为JSON,包含有关每个州及其相关的“愚蠢法律”的详细信息
开发者可以使用API创建教育工具、问答游戏或法律研究应用程序,突出奇怪的法律,使其成为一个有趣的学习和娱乐资源
API的输出包括“state”“law_description”和可能的“law_id”等字段,提供关于每个法律及其来源的清晰信息
您可以通过向其端点发出请求来集成 API 以获取所有州或特定州的数据,允许您根据需要在您的应用程序中显示或利用这些不寻常的法律
该端点以结构化的JSON格式返回所有美国州的综合列表。每个州作为数组中的字符串表示,使用户可以轻松访问并利用州名进行进一步查询
此端点需要一个状态标识符作为参数,该参数应为州的名称(例如,“佛罗里达”)。这使用户能够自定义他们的请求,以检索特定于该州的法律
响应的结构是一个对象数组,每个对象包含州名作为键和相关不寻常法律的数组作为值。这种格式使识别与特定州相关的法律变得容易
此端点提供指定州的一项单一突出异常法律。响应包括州名作为键以及突出法律的简要描述,使其非常适合快速参考或小知识问答
响应包括两个关键字段:状态名称(作为键)和法律描述(作为值)这种结构允许用户快速识别与指定状态相关的突出法律
用户可以将数据集成到用于教育目的、问答游戏或法律研究的应用程序中 通过解析结构化的JSON响应 开发者可以以用户友好的格式展示法律或基于奇怪的法律创建有趣的内容
典型的用例包括创建有趣的教育工具 开发知识问答游戏或增强法律研究应用程序 法律的幽默性质也可以用于博客或社交媒体内容的娱乐目的
该API的数据来源于美国各州的法律文献,确保信息基于法律文本。定期更新和质量检查有助于维护所提供法律的准确性和相关性