You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm making a drug logging app that uses TripSit's API and PsychonautWiki's API to get data about the various drugs. I've noticed some oddities with PsychonautWiki's API in particular.
First off, here's the query:
query substances {
substances(limit: 9999) {
name
roas {
name
dose {
units
threshold
heavy
light { min max }
common { min max }
strong { min max }
}
duration {
total { min max units }
onset { min max units }
comeup { min max units }
peak { min max units }
offset { min max units }
afterglow { min max units }
}
}
dangerousInteractions { name }
unsafeInteractions { name }
uncertainInteractions { name }
effects { name }
}
}
This query returns results like, categories and joke pages:
Antipsychotic
Cake
Classical psychedelic
Cytochrome P450 inhibitors
Deliriant
Depressant
Entactogens
Entheogen
Hallucinogens
Hypnotic
Inhalants
MAOI
Nootropic
Opioids
Prodrug
Psychedelics
Racetams
Sedative
Selective serotonin reuptake inhibitor
Serotonergic psychedelic
Serotonin-norepinephrine reuptake inhibitor
Stimulants
Substituted aminorexes
Substituted amphetamines
Substituted cathinones
Substituted morphinans
Substituted phenethylamines
Substituted phenidates
Substituted tryptamines
Synthetic cannabinoid
Thienodiazepines
Tryptamine (compound)
It returns results that have nothing to do with substances themselves, like these experiences:
Experience: I-Doser ('audio-drug') and meditation
Experience:3-MeO-PCP, LSD, Clonazolam, and Amphetamine - Excessive Amounts and Excessive Confusion
It also returns some questionable results, though I'm not sure if I should consider these as drugs?
Cannabidiol
Cannabinoid
Not sure if I caught them all, but I tried my best.
Is this intentional? I would assume that a substance query would only return substances, not categories, experiences and compounds. Having to write so many checks in my API parsing is difficult when there are so many results that are not substances.
Something else I noticed is that LSD for example is not returned by the query above. I haven't noticed any other drugs that are not returned, though it is hard to check when there are so many drugs to manually double check between the results of my query and the wiki itself.
The text was updated successfully, but these errors were encountered:
Hi!
I'm making a drug logging app that uses TripSit's API and PsychonautWiki's API to get data about the various drugs. I've noticed some oddities with PsychonautWiki's API in particular.
First off, here's the query:
This query returns results like, categories and joke pages:
It returns results that have nothing to do with substances themselves, like these experiences:
It also returns some questionable results, though I'm not sure if I should consider these as drugs?
Not sure if I caught them all, but I tried my best.
Is this intentional? I would assume that a substance query would only return substances, not categories, experiences and compounds. Having to write so many checks in my API parsing is difficult when there are so many results that are not substances.
Something else I noticed is that LSD for example is not returned by the query above. I haven't noticed any other drugs that are not returned, though it is hard to check when there are so many drugs to manually double check between the results of my query and the wiki itself.
The text was updated successfully, but these errors were encountered: