The Cannabis API Documentation
The following API endpoints are available:
GET /api/strains/getStrainsById/:strainID: Retrieves a specific strain by its ID.
GET /api/strains/getStrainsByName/:strainName: Retrieves strains by name.
GET /api/strains/getStrainsByType/:strainType: Retrieves strains by type.
GET /api/strains/getStrainsByEffect/:strainEffect: Retrieves strains by effect.
GET /api/strains/getStrainsByFlavour/:strainFlavour: Retrieves strains by flavor.
GET /api/strains/getEffectsByStrainId/:strainID: Retrieves effects by strain ID.
GET /api/strains/getFlavoursByStrainId/:strainID: Retrieves flavours by strain ID.
GET /api/strains/getAllFlavours: Retrieves all flavours.
GET /api/strains/getAllEffects: Retrieves all effects.