API-Rest para información sobre administración-politica de Cuba

Related tags

API php laravel api-rest
Overview

API_CUBA

API desarrollada con Laravel PHP para brindar servicios REST para multiples plataformas sobre información politico administrativa de API_CUBA

Features

  • Realizar busquedas por provincias, municipios
  • Listar provincias con sus municipios

Future Features

  • Listado de Codigos postales de Cuba
  • Listados de consejos populares y mas

Documentation

Documentation

Autor

Instalación

  git clone https://github.com/lucasgio/api_cuba.git
  cd api_cuba
  composer install 
  cp env.example .env
Crear una db en su cofiguración de mysql


DB_DATABASE=nombredeldb
DB_USERNAME=usuariomysql
DB_PASSWORD=passwordmysql
php artisan migrate --seed
php artisan config:clear
php artisan optimize

php artisan test
php artisan serve

API EndPoints

GET

Se obtiene todas las provincias

  GET /api/v1/provincies
Parameter Type Description
page int Optional

GET

Se obtiene todos los municipios

  GET /api/v1/municipalities
Parameter Type Description
page int Optional

GET

Se obtiene todos los barrios o consejos populares (SOONNN)

  GET /api/v1/neighborhoods
Parameter Type Description
page int Optional

License

MIT

Tech Stack

Back-End: Laravel, PHP

You might also like...
Osclass REST API plugin.

Osclass API Osclass API plugin, with all the required endpoints and JWT auth. Osclass App (Native + PWA) You always wanted a mobile app for Osclass, d

Joy VoyagerApi module adds REST Api end points to Voyager with Passport and Swagger support.
Joy VoyagerApi module adds REST Api end points to Voyager with Passport and Swagger support.

Joy VoyagerApi This Laravel/Voyager module adds REST Api with Passport and Swagger support to Voyager. By 🐼 Ramakant Gangwar. Prerequisites Composer

A rest api repository with laravel.

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

A rest api repository with laravel.

API Back End This is the repository for the TKJ 1 Class 12 Web Back End API system, for detailed info, you can go to the main link of the Front End ap

Phalcon PHP REST API Package, still in beta, please submit issues or pull requests

PhREST API A Phalcon REST API package, based on Apigees guidelines as found in http://apigee.com/about/content/web-api-design Please see the skeleton

A chess REST API.
A chess REST API.

Chess API A chess REST API. Documentation Read the latest docs here. Installation Clone the chesslablab/chess-api repo into your projects folder as it

Extended response classes for Rest API clients/SDKs
Extended response classes for Rest API clients/SDKs

Rest Response Extended response classes for Rest API clients/SDKs. About This package is intended to be component of SDKs so the responses can be easi

Aplicación API para consumir el Servicio Web de Descarga Masiva del SAT.

API Descarga Masiva Aplicación API para consumir el Servicio Web de Descarga Masiva del SAT. Note: The documentation of this project is in Spanish, as

Adaptação da API do PicPay para dev's PHP
Adaptação da API do PicPay para dev's PHP

API PICPAY PARA PHP 💚 🚀 Criei essa adaptação da API do PicPay para pessoas que desejam utilizar o gateway de pagamento de uma forma simples e rápida

Comments
  • Add store massive - query builder

    Add store massive - query builder

    1. Se añadio guardado masivo en el servicio de barrios
    2. Se creo query search builder con Spatie para la busqueda filtrada para muncipios y barrios
    3. Se realizaron cambios menores
    4. Optimizacion de codigo
    opened by lucasgio 0
Releases(v1.1.0)
  • v1.1.0(Aug 10, 2022)

  • production(Mar 14, 2022)

    New Feature

    • Search all municipalities of the province by params
    • Search all neighborhoods of the municipalties by params
    • Adding new Home Page about information of API CUBA

    What's Changed

    • Update .gitignore file by @ovillafuerte94 in https://github.com/lucasgio/api_cuba/pull/1
    • Spanish language support by @ovillafuerte94 in https://github.com/lucasgio/api_cuba/pull/2
    • Add anonymous migrations by @ovillafuerte94 in https://github.com/lucasgio/api_cuba/pull/3
    • Add workflow to run tests by @ovillafuerte94 in https://github.com/lucasgio/api_cuba/pull/4
    • Implement translations by @ovillafuerte94 in https://github.com/lucasgio/api_cuba/pull/5
    • Minor changes in the api version prefix by @ovillafuerte94 in https://github.com/lucasgio/api_cuba/pull/6
    • Set coding standards in PHP by @ovillafuerte94 in https://github.com/lucasgio/api_cuba/pull/7
    • Add:Procfile to deploy heroku by @lucasgio in https://github.com/lucasgio/api_cuba/pull/8

    New Contributors

    • @ovillafuerte94 made their first contribution in https://github.com/lucasgio/api_cuba/pull/1

    Full Changelog: https://github.com/lucasgio/api_cuba/commits/production

    Source code(tar.gz)
    Source code(zip)
Owner
Iosvany Alvarez
Full Stack Developer sometimes, I pass a lot of time building apps with Laravel. Also, work with Vuejs and React. Try to change to Typescript and Nodejs.
Iosvany Alvarez
Simple PHP API client for tube-hosting.com rest API

Tube-Hosting API PHP client Explanation This PHP library is a simple api wrapper/client for the tube-hosting.com api. It is based on the provided docu

null 4 Sep 12, 2022
GraphQL API to Studio Ghibli REST API

GhibliQL GhibliQL is a GraphQL wrapper to the Studio Ghibli REST API Usage First, you'll need a GraphQL client to query GhibliQL, like GraphQL IDE Con

Sebastien Bizet 8 Nov 5, 2022
Single file PHP script that adds a REST API to a SQL database

PHP-CRUD-API Single file PHP script that adds a REST API to a MySQL/MariaDB, PostgreSQL, SQL Server or SQLite database. NB: This is the TreeQL referen

Maurits van der Schee 3.2k Jan 8, 2023
PHP REST API Framework

PSX Framework About PSX is a framework written in PHP dedicated to build REST APIs. It is based on multiple components which cover many aspects of the

Apioo 121 Dec 30, 2022
example repository training REST API

adalah codebase REST-API dari tugas peserta yang mengikuti training membangun REST API dengan lumen selama 2 minggu. studi kasus nya adalah REST API website marketplace untuk agrobisniss.

Nuris Akbar 6 Sep 4, 2021
A REST API that should power the Agile Monkeys CRM Service

This is a simple REST API that purposes to power the Agile Monkeys CRM service

Dickens odera 3 Jul 31, 2021
A simple, extensible REST API framework for PHP

Note: This framework is not stable yet. Introduction Aphiria is a suite of small, decoupled PHP libraries that make up a REST API framework. It simpli

Aphiria 119 Dec 23, 2022
A lightweight REST API framework

php-microframework A minimal PHP 8 REST API built onto php-microframework. Features Automatic routing based on URL path, e.g. https://domain/controlle

John 1 Oct 16, 2021
PHP REST API without using any frameworks. Contains all CRUD operations.

PHP REST API without any framework and CRUD operations ?? Hi there, this is a simple REST API built in PHP without using any frameworks. This is built

Hanoak 10 Sep 5, 2022
Laravel Client REST Camunda API

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Uriel Reyes 1 Nov 5, 2021