CivicActions / nebula

Other
3 stars 5 forks source link

[HIGH] API backend artfully limits us to 5 adverse effects.... #52

Closed RobertLRead closed 9 years ago

RobertLRead commented 9 years ago

Or so I interpret this code. This is a big mistake, because I am sure doctors will want to know of unusual adverse events, and we have specifically designed the GUI to allow a long vertical scrolling successfully.

$response = $client->get('https://api.fda.gov/drug/event.json', [ 'query' => [ 'api_key' => 'rv4OOon6fPJOHBbFHClUOs3BRGSbAEUdg3ACp2pu', 'search' => $med, 'limit' => 5, 'count' => 'patient.reaction.reactionmeddrapt.exact'] ]);