Cover image
Try Now
2017-09-29

Una API relajante básica para obtener todas las ciudades, municipios y provincias en Filipinas.

3 years

Works with Finder

1

Github Watches

6

Github Forks

23

Github Stars

Total Downloads Latest Stable Version License Monthly Downloads

MCPro is abbreviation of Municipalities, Cities and Provinces in the Philippines

A basic RESTful API for getting all the cities, municipality and provinces in the Philippines.

Installation

  • Step1: Add this to your root composer.json

	"require": {
	    "jsdecena/mcpro": "1.1.*"
	}

  • Step2: Add this to your config/app.php in providers array

	'providers' => [
	    Jsdecena\MCPro\McproServiceProvider::class,
	]

  • Step3: Run this in your terminal php artisan vendor:publish

  • Step4: Rename .env.example to .env and set your database credentials

  • Step5: Run this in your terminal php artisan key:generate

  • Step6: Add these lines in the /database/seeds/DatabaseSeeder.php


    $this->call('CountryTableSeeder');
    $this->call('ProvincesTableSeeder');
    $this->call('CitiesTableSeeder');
    $this->call('BarangayTableSeeder');

Endpoints

  • /api/v1/country - List all the countries

  • /api/v1/country/{country_id} - Details of the country ( PH is id:169 )

  • /api/v1/country/{country_id}/province - List all the provinces of the country (Currently for the PH)

  • /api/v1/country/{country_id}/province/{province_id} - Details of the province

  • /api/v1/country/{country_id}/province/{province_id}/city - Cities ( and Municipalities) of the province

  • /api/v1/country/{country_id}/province/{province_id}/city/{city_id} - Details of the city

  • /api/v1/country/{country_id}/province/{province_id}/city/{city_id}/barangay - List all the barangays of the City (or Municipality)

Future

  • Reverse lookup - Giving the city_id and shows the province and the country etc.

  • 404 Exception handling

Credits:

DISCLAIMER

The data is offered FOR FREE and anybody can use at their own risk. The data is offered AS IS. While I will strive to keep this data up to date, I do not claim that this is a comprehensive listing and some data may be outdated or missing. I will not be held liable for any inaccuracies or errors found in the data. I am not responsible for final end-user utilization of this data and any damages the user might incur in its use.

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

  • ravitemer
  • Un poderoso complemento Neovim para administrar servidores MCP (protocolo de contexto del modelo)

  • patruff
  • Puente entre los servidores Ollama y MCP, lo que permite a LLM locales utilizar herramientas de protocolo de contexto del modelo

  • pontusab
  • La comunidad de cursor y windsurf, encontrar reglas y MCP

  • av
  • Ejecute sin esfuerzo LLM Backends, API, frontends y servicios con un solo comando.

  • Mintplex-Labs
  • La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.

    Reviews

    1 (1)
    Avatar
    user_xljXZR4W
    2025-04-17

    I've been using mcpro by jsdecena for a while now, and it is absolutely fantastic! The flexibility and functionality it offers are unmatched. It greatly simplifies complex tasks and enhances productivity. Highly recommended for anyone looking for a reliable and efficient application. Check it out at https://github.com/jsdecena/mcpro.