Personal tools
@Pleiades on Mastodon
26 June 2024

Export Updates 2024-06-26:
Pleiades gazetteer of ancient places

5 new and 46 updated places.

1. Downloads: pleiades.stoa.org/downloads

2. pleiades.datasets: github.com/isawnyu/pleiades.da:

"main" branch:

c86b9d77 - updated legacy csv
d11a62a9 - updated json
no change: rdf/ttl
9c829781 - updated gis package
b2caf936 - updated data quality
025bfe67 - updated bibliography
63efc1f1 - updated indexes

3. pleiades-geojson: github.com/ryanfb/pleiades-geo:

bb68f78d - updated geojson and names index

25 June 2024

Export Updates 2024-06-25:
Pleiades gazetteer of ancient places

15 updated places.

1. Downloads: pleiades.stoa.org/downloads

2. pleiades.datasets: github.com/isawnyu/pleiades.da:

"main" branch:

40806b1f - updated legacy csv
1364d37c - updated json
no change: rdf/ttl
4c0714a6 - updated gis package
no change: data quality
4499226c - updated bibliography
07c3b889 - updated indexes

3. pleiades-geojson: github.com/ryanfb/pleiades-geo:

0a2f3a75 - updated geojson

24 June 2024

Export Updates 2024-06-24:
Pleiades gazetteer of ancient places

17 new and 31 updated places.

1. Downloads: pleiades.stoa.org/downloads

2. pleiades.datasets: github.com/isawnyu/pleiades.da:

"main" branch:

d028ef67 - updated legacy csv
6bd7defb - updated json
1da2d578 - updated rdf/ttl
35ff4457 - updated gis package
b411f046 - updated data quality
73995667 - updated bibliography
2ec06887 - updated indexes

3. pleiades-geojson: github.com/ryanfb/pleiades-geo:

7e47a42c - updated geojson and names index

21 June 2024

Export Updates 2024-06-21:
Pleiades gazetteer of ancient places

2 new and 41 updated places.

1. Downloads: pleiades.stoa.org/downloads

2. pleiades.datasets: github.com/isawnyu/pleiades.da:

"main" branch:

048b6afc - updated legacy csv
b195ab45 - updated json
no change: rdf/ttl
70bcb5ed - updated gis package
a6d7c9a4 - updated data quality
da94b315 - updated bibliography
25b3f99d - updated indexes

3. pleiades-geojson: github.com/ryanfb/pleiades-geo:

a122c8d7 - updated geojson and names index

18 June 2024

Full exports of KML for Google Earth are currently broken. Follow github.com/isawnyu/pleiades-ga for updates.

@Pleiades on Mastodon - More…
You are here: Home Project news and content updates Pleiades Project Blog Pleiades dataset API wrapper

Skip to content. | Skip to navigation

Pleiades dataset API wrapper

Creators: Daniele Fusi
Contributors: Tom Elliott
Copyright © The Contributors. Sharing and remixing permitted under terms of the Creative Commons Attribution 3.0 License (cc-by).
Last modified Jun 25, 2024 06:01 PM
A guest post by Daniele Fusi in the Pleiades gazetteer "Projects and Partners" series describing a simple command-line interface tool for importing Pleiades JSON data into a relational database, indexing it, and providing an application programming interface service to other applications, enabling them to lookup places with a combination of search parameters.

Get the code for the Pleiades Dataset API Wrapper at https://github.com/vedph/pleiades-api

In the context of several projects related to the Classical world, ranging from general-purpose content creation frameworks for digital editions (Cadmus) to more specialized tools like meta-repositories of epigraphic documents, I have often found myself in need of a quick way to use the Pleiades database through an API service, from both frontend and backend solutions. To this end, I created a simple command-line interface (CLI) tool for importing Pleiades JSON data into an ad-hoc designed relational database management system (RDBMS) (primarily Postgres with Postgis), quickly index it, and provide an application programming interface (API) service to lookup places with a combination of search parameters. Even if until now I had no need for adding more optional features (like authentication, balancing, and the like), this could be accomplished in a few hours’ work, as the infrastructure is already in place. Also, the API service is ready to be containerized into Docker, also providing data dumps from Postgres to be automatically imported during container startup. This allows firing up a fully working API service with cross-origin resource sharing (CORS) support, Swagger frontend and fresh data in a few minutes. When an updated version of Pleiades comes out, you just have to rebuild the container with a new data dump. Of course, once the CLI tool has imported the database, you can also bypass my service completely and use the database as you prefer. The CLI tool also provides a command to interactively build SQL code to query the database. Full source code is available at https://github.com/vedph/pleiades-api.