资 源 简 介
GoodRelations for PHP (GR4PHP)
GR4PHP is a PHP API (as library) that allows the consumption of GoodRelations data on an eligible SPARQL endpoint without expecting the developer to have deeper understanding of the underlying GoodRelations vocabulary or SPARQL queries. The API provides six abstract functions, which are interally translated into proper SPARQL queries for GoodRelations.
getCompany: Returns information about a GoodRelations BusinessEntity.
getLocation: Return stores in the proximity of a given geographic point.
getOffers: Returns GoodRelations Offerings given search criteria.
getOpeningHours: Gives opening hours to a given store (GoodRelations LocationOfSalesOrServiceProvisioning).
getProductModel: Returns details