• Stars
    star
    233
  • Rank 172,230 (Top 4 %)
  • Language
    C#
  • License
    MIT License
  • Created about 2 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Public api that contains info about Colombia, departments, cities, tourists places and presidents

API-COLOMBIA

Introduction

API Colombia is a public RESTful API that enable users to obtain a variety of public information about the country "Colombia".

Read this document in Español

Project Support Features

  • Minimal API's endpoints to get information about:
    • General information about the country.
    • Departments/States.
    • Cities.
    • Presidents.
    • Tourist attractions.
  • Swagger documentation
  • Does not require authentication.

Versions

  • 1.0

Installation Guide

  • Clone this repository here.
  • The develop branch is the most stable branch at any given time, ensure you're working from it.
  • .NET CORE SDK must be installed in the machine.
  • Update the connection string to your prefered database in the "appsettings.json" file.
  • Run dotnet build command to generate the build of the project.

Usage

Public page api-colombia.com has useful information about the API and a brief description of the available endpoints and the same allows access to the endpoints described bellow.

  • Swagger documentation can be found in the following URL

API Endpoints

HTTP Verbs Endpoints Action
GET /api/{version}/city Get the list of all cities
GET /api/{version}/city/{id} Get the information of a city by it is id
GET /api/{version}/city/name/{name} Get the information of a city by it is name
GET /api/{version}/city/search/{keyword} Get the information of a city searching by keyword
GET /api/{version}/city/pagedList Get the list of all cities paginated
GET /api/{version}/country/Colombia Get the information of Colombia
GET /api/{version}/Department Get the list of all departments in Colombia
GET /api/{version}/Department/{id} Get the information of a department by it is id
GET /api/{version}/Department/name/{name} Get the information of a department by it is name
GET /api/{version}/Department/search/{keyword} Get the information of a department searching by keyword
GET /api/{version}/Department/pagedList Get the list of all department paginated
GET /api/{version}/Region Get the list of all regions in Colombia
GET /api/{version}/President Get the list of all presidents in Colombia
GET /api/{version}/President/{id} Get the information of a president by it is id
GET /api/{version}/President/name/{name} Get the information of a president by it is name
GET /api/{version}/President/year/{name} Get the information of a president that ruled during a specific year
GET /api/{version}/President/search/{keyword} Get the information of a president searching by keyword
GET /api/{version}/President/pagedList Get the list of all presidents paginated
GET /api/{version}/TouristicAttraction Get the list of all touristic attractions in Colombia
GET /api/{version}/TouristicAttraction/{id} Get the information of a touristic attraction by it is id
GET /api/{version}/TouristicAttraction/name/{name} Get the information of a touristic attaction by it is name
GET /api/{version}/TouristicAttraction/search/{keyword} Get the information of a touristic attaction searching by keyword
GET /api/{version}/TouristicAttraction/pagedList Get the list of all touristic attractions paginated

Response Example

  • Content type: "application/json". Responses are JSON Objects.
  • Response header contains the HTTP CODE with the status.
  • Example:
 {"id":1,"name":"Colombia","description":"Colombia, officially the Republic of Colombia, is a country in South America with insular regions in North America—near Nicaragua's Caribbean coast—as well as in the Pacific Ocean. The Colombian mainland is bordered by the Caribbean Sea to the north, Venezuela to the east and northeast, Brazil to the southeast, Ecuador and Peru to the south and southwest, the Pacific Ocean to the west, and Panama to the northwest. Colombia is divided into 32 departments and the Capital District of Bogotá, the country's largest city. It covers an area of 1,141,748 square kilometers (440,831 sq mi), and has a population of 52 million. Colombia's cultural heritage—including language, religion, cuisine, and art—reflects its history as a Spanish colony, fusing cultural elements brought by immigration from Europe and the Middle East, with those brought by enslaved Africans, as well as with those of the various Indigenous civilizations that predate colonization. Spanish is the official state language, although English and 64 other languages are recognized regional languages.","stateCapital":"Bogotá","surface":1141748,"population":52235050,"languages":["Spanish","English"],"timeZone":"UTC-5","currency":"Colombian Peso","currencyCode":"COP","isoCode":"CO","internetDomain":".co","phonePrefix":"+57","radioPrefix":"HK","aircraftPrefix":"HK"}

Technologies Used

  • .NET Core 6.* is a free, cross-platform, open source developer platform for building many kinds of applications. .NET is built on a high-performance runtime that is used in production by many high-scale apps.
  • PostgreSQL is a powerful, open source object-relational database system with over 35 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance.
  • Microsoft Azure The Azure cloud platform is more than 200 products and cloud services designed to help you bring new solutions to life—to solve today’s challenges and create the future. Build, run, and manage applications across multiple clouds, on-premises, and at the edge, with the tools and frameworks of your choice.

Contributors ✨

All Contributors

Thanks goes to these wonderful people (emoji key):

Miguel Teheran
Miguel Teheran

💻
Rina Plata
Rina Plata

📖 ✅
Veronica Guaman
Veronica Guaman

💻
Mario Botero
Mario Botero

💻
Alejandro Herreño
Alejandro Herreño

📖 💻
Angelo Cardona
Angelo Cardona

📖 💻
Add your contributions

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT License

More Repositories

1

TypeScriptGuide

Guide to learn TypeScript from scratch
TypeScript
12
star
2

BlazorShareComponents

Blazor Share componentes
HTML
5
star
3

CSharpVersionsDemos

Demos about the features for each new C# version
C#
5
star
4

MicroserviciosExampleEDteam

Este es un ejemplo de Microservicios del curso de EDteam
JavaScript
4
star
5

Cede_Dotnet_WebApi

Web Api project including linq and entityframework
JavaScript
3
star
6

Cede_Dotnet_HTML

HTML, CSS, Javascript
HTML
3
star
7

TryCatchBenchmarking

Este repositorio mide cuanto se demora nuestra aplicación controlando excepciones con Trycatch
C#
3
star
8

EDteamCsharpCourse

Codigo fuente incluye los ejercicios aprendidos en el curso CSharp de EDteam
C#
3
star
9

invasivespecie-colombia

Portal in react.js to find INVASIVE SPECIE in Colombia
TypeScript
3
star
10

blazor-file-alibabacloud

This is a repositoty about how to manage file in blazor and how to use alibaba cloud to store files
HTML
2
star
11

Cede_ReactJs

ReactJS demos
JavaScript
2
star
12

SignalRCoreWorkshop

Netconf: SignalRCore Workshop
HTML
2
star
13

SignalRFunnyGifDemo

SignalR demo using Xamarin and React js
CSS
2
star
14

DotnetMinimalApi

C#
2
star
15

AzureSignalRDemo

Azure SignalR demo using Azure functions
C#
2
star
16

ReactTeamInternational

React demo app for Team International
JavaScript
2
star
17

SOLIDWorkshop

Learn SOLID using real examples in C#
C#
2
star
18

api_people_task

Example of API using some models with dapper and postgreSql
C#
2
star
19

CSharpDirtyCode

C# dirty code example it´s a example of code in Net core that needs a refactoring
C#
2
star
20

BlazorRealTime

Real-time apps samples using Blazor and SignalR core
HTML
2
star
21

OdeToFood

.Net core Application demo
C#
1
star
22

ReactColorPickerDemo

Color picker demo using props
JavaScript
1
star
23

Cede_WorkShop2

Taller numero 2 diplomado .Net
JavaScript
1
star
24

UnoPlatformWasmDemo

Web Assembly demo using Uno Platform
C#
1
star
25

SignalRWhiteBoard

SignalR White Board
JavaScript
1
star
26

Net_Univesity_CSharp

Net_Univesity_CSharp
C#
1
star
27

blazornet5

HTML
1
star
28

Cede_Dotnet_CSharp_Workshop

Workshop to practice C#, SOLID, Dependency injection and Unit Test
C#
1
star
29

Cede_Dotnet_CSharp

Syntaxis , feature, SOLID and patterns
C#
1
star
30

mteheran

Mi bio
1
star
31

UnitTestEDteam

Repositorio de curso pruebas unitarias en EDteam
C#
1
star
32

EDteamTallerReactjsDotnet

Taller donde creamos una sala de chat usando React.js y .NET Core
JavaScript
1
star
33

OpenTelemetrydotnet

OpenTelemtry with .NET demo microservices
C#
1
star
34

XamarinSignalRStreaming

Demo using Xamarin and SignalR using the Streaming feature
C#
1
star
35

TextManager

C#
1
star
36

MVC_Basic

MVC_Basic
JavaScript
1
star
37

EDteamCSharpTaller

Taller de CSharp para EDteam
C#
1
star
38

Cede_Dotnet_MVC

ASP.NET MVC project
JavaScript
1
star
39

ASPMVCNomina

Example of MVC Paysheet
JavaScript
1
star
40

StartingWithMudBlazor

A started tutorial to crear an application using Blazor WebAssembly and MudBlazor
HTML
1
star
41

Cede_Basic_Demo_CSharp

Cede_Basic_Demo_CSharp
C#
1
star
42

AmazonAlexaDotnet

Demo using Alexa.NET library to create a skill for Amazon Alexa
C#
1
star
43

Cede_Nodejs

Node js basic examples
JavaScript
1
star
44

Cede_Dotnet_ASP_WPF

Codigo de ejemplo aplicacion ASP.NET y WPF
JavaScript
1
star
45

BlazorStoreEDteam

This is workshop aobut how to create a Game store using Blazor and dotnet
C#
1
star
46

LoggingAndDebuggingDotnet

LoggingAndDebuggingDotnet
C#
1
star
47

Net_University_Linq

Curso completo de Linq con C#
C#
1
star
48

BlazorFileAdminProject

This is a project related to Udemy Course Blazor * Azure
C#
1
star
49

Net_University_SignalRCore

Project implemente SignalR for NetUniversity
C#
1
star
50

Cede_Dotnet_CSharp_Workshop2

C#
1
star
51

CalcultorService

Calculator service
C#
1
star
52

Cede_ASP_MVC_Events

proyecto MVC relacionado a eventos
JavaScript
1
star