FDA / openfda

openFDA is a research project to provide open APIs, raw data downloads, documentation and examples, and a developer community for an important collection of FDA public datasets.
https://open.fda.gov
Creative Commons Zero v1.0 Universal
567 stars 131 forks source link

Does the API support Spanish language? #194

Closed derian-all-win-software closed 1 year ago

derian-all-win-software commented 1 year ago

According to this example https://api.fda.gov/drug/label.json?search=active_ingredient:aspirin&lang=es the query contains a lang parameter which is given the value of es, when the request is made it returns the following error:

{
  "error": {
    "code": "BAD_REQUEST",
    "message": "Invalid parameter: lang"
  }
}

Is the Spanish language still supported when making a request?

dkrylovsb commented 1 year ago

No, openFDA does not support languages other than English.