Dogfennaeth API Termau
Terminology API Documentation
Wedi Diweddaru:
API Fersiwn 1 (v1) API Version 1 (v1)
Chwilio Syml
Simple Search
https://api.techiaith.cymru/porthtermau/v1/SimpleSearch/
Paramedr | Math | Disgrifiad | |
---|---|---|---|
Field | Type | Description | |
string | String | Gair neu term i chwilio | Search word or term |
sln | Enum ('cy', 'en', Optional) | Iaith Chwlio | Search language |
dln | Enum ('cy', 'en', Optional, default 'cy') | Iaith Dangos | Display language |
Enghraifft:
Example:
curl https://api.techiaith.cymru/porthtermau/v1/SimpleSearch?string=revolution
Canlyniad Enghreifftiol:
Example Result:
{
"success":true,
"error":"",
"search":"revolution",
"suggestions":false,
"languages":
{
"EN":
[
{
"level":"1",
"match":"revolution"
"results":
[
{
"headword":"revolution",
"src":"revolution(=overthrow of system)chwyldroegchwyldroadauY Termiadur AddysgGwleidyddiaeth, Deddfwriaeth, Cyfraith a ThroseddCelf, Dylunio, Technoleg ac AdeiladuDaearyddiaeth",
"isPublished":true
},
{
"headword":"revolution",
"src":"revolution(of circular motion)cylchdroegcylchdroeonY Termiadur AddysgFfiseg a Mathemateg",
"isPublished":true
},
{
"headword":"revolution",
"src":"revolutionchwyldroegchwyldroadauGeiriadur Termau’r Coleg Cymraeg CenedlaetholGwleidyddiaeth, Deddfwriaeth, Cyfraith a ThroseddCymdeithasegGeiriadur Termau ArchaeolegHanes ac Archaeoleg",
"isPublished":true
}
],
}
]
}
}