An open API service indexing awesome lists of open source software.

https://github.com/hmlendea/exonyms-api

REST API for gathering exonyms for given location using the WikiData and GeoNames APIs.
https://github.com/hmlendea/exonyms-api

api dotnet exonyms rest-api self-hosted

Last synced: 2 months ago
JSON representation

REST API for gathering exonyms for given location using the WikiData and GeoNames APIs.

Awesome Lists containing this project

README

          

[![Donate](https://img.shields.io/badge/-%E2%99%A5%20Donate-%23ff69b4)](https://hmlendea.go.ro/fund.html) [![Latest GitHub release](https://img.shields.io/github/v/release/hmlendea/exonyms-api)](https://github.com/hmlendea/exonyms-api/releases/latest) [![Build Status](https://github.com/hmlendea/exonyms-api/actions/workflows/dotnet.yml/badge.svg)](https://github.com/hmlendea/exonyms-api/actions/workflows/dotnet.yml)

# About

REST API for gathering exonyms for a given location, in latin script.

# Usage

## Building from source

Just run the following command:
```sh
dotnet build
```

## Running

Just run the following command:
```sh
dotnet run
```

## Example request

The following example will gather a list of exonyms for _Al Homceima_:
```sh
curl --insecure --request GET --location 'http://localhost:5000/Exonyms?wikiDataId=Q310350'
```