imagina / iplaces-module
Installs: 244
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 7
Open Issues: 1
Language:Blade
Type:asgard-module
Requires
- php: >=7.0.0
- composer/installers: ~1.0
- idavoll/core-module: ~3.0
- imagina/ilocations-module: >=0.1
Requires (Dev)
- orchestra/testbench: 3.5.*
- phpunit/phpunit: ~6.0
README
Settings
- Api maps from Google
General Status (For Places and other else)
- INACTIVE = 0;
- ACTIVE = 1;
Types (For services)
- PRINCIPAL = 0;
- OTHER = 1;
Api Examples
Places
List all places with relations
https://mydomain.com/api/iplace/places?include=category,schedule,zone,province,city,services,spaces
List all places with Relations,Pagination and Filter
Get a place (Parameter = ID )
Get a place (Parameter = slug )
Categories
List all categories with relations
https://mydomain.com/api/iplace/categories
Get a category (Parameter = ID or Slug )
https://mydomain.com/api/iplace/categories/40
Shedules
- List All = Same that category
- One = By id or title
Services
- List All = Same that category
- One = Same that category
- Example for a type of service
https://mydomain.com/api/iplace/services?&filter={"servType":[0]}
Zones
- List All = Same that category
- One = By id or title
Space
- List All = Same that category
- One = Same that category