Giter VIP home page Giter VIP logo

world-heritage's Introduction

⚠️ UNMAINTAINED, PLEASE CALL UNESCO'S OFFICIAL ENDPOINT DIRECTLY OR USE WIKIDATA

world-heritage

List of UNESCO world heritage sites, automatically fetched from this official endpoint.

npm version Build Status Greenkeeper badge dependency status license chat on gitter

Installation

npm install world-heritage

Usage

heritage(opt)

const heritage = require('world-heritage')

heritage().then()

heritate({markdown: true}).then() // converts all HTML descriptions to markdown, but takes noteably longer to compute

Returns a Promise that will resolve in an list of UNESCO world heritage sites which looks as follows. Please note that some of the keys might be empty for some sites (e.g. justification or location information is relatively rare):

[
    {
        "id": 1137,
        "site": "Kernavė  Archaeological Site (Cultural Reserve of Kernavė)",
        "category": "Cultural", // Natural, Cultural or Mixed
        "criteria": [
            "iii",
            "iv"
        ],
        "dates": {
            "inscription": 2004,
            "other": [] // list of years
        },
        "extension": 0,
        "danger": null,
        "description": {
            "historical": null,
            "long": "<p>The archaeological site of Kernavė offers exceptional testimony to the evolution of human settlements in the Baltic region in Europe over some 10 millennia, with evidence of the contact of pagan and Christian funeral traditions. The settlement patterns and the impressive hill forts are outstanding examples of the development of such types of structures and the history of their use in the pre-Christian era.</p>\r\n<p>The earliest traces of inhabitants have been discovered at the River Neris in the Pajauta valley. The representatives of the Swiderian culture, late Palaeolithic hunters, came here in the 9th-8th millennia BC, followed by more settlements in the Mesolithic and Neolithic periods, due to the river rich in fish and the vast hunting terrain on the upper terr", // …
            "short": "<p>The Kernavė Archaeological site, about 35 km north-west of Vilnius in eastern Lithuania, represents an exceptional testimony to some 10 millennia of human settlements in this region. Situated in the valley of the River Neris, the site is a complex ensemble of archaeological properties, encompassing the town of Kernavė, forts, some unfortified sett" // …
        },
        "justification": "<p><em>Criterion (iii):</em> The archaeological site of Kernave presents an exceptional testimony to the evolution of human settlements in the Baltic region in Europe over the period of some 10 millennia. The site has exceptional evidence of the contact of Pagan and Christian funeral traditio", // …
        "location": "Vilnius county, Širvintos district, Kernave town.",
        "coordinates": {
            "longitude": 24.83055556,
            "latitude": 54.88777778
        },
        "url": "http://whc.unesco.org/en/list/1137",
        "image": "http://whc.unesco.org/uploads/sites/site_1137.jpg", // almost useless since really small
        "countries": {
            "iso": [
                "lt"
            ],
            "names": [
                "Lithuania"
            ]
        },
        "region": "Europe and North America",
        "revision": 0,
        "transBoundary": false,
        "uniqueNumber": 1317
    }
    // …
]

See also

Contributing

If you found a bug, want to propose a feature or feel the urge to complain about your life, feel free to visit the issues page.

world-heritage's People

Contributors

greenkeeper[bot] avatar juliuste avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

world-heritage's Issues

An in-range update of tape is breaking the build 🚨

The devDependency tape was updated from 4.10.1 to 4.10.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

tape is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 7 commits.

  • 2c6818a v4.10.2
  • 15b2dfc [fix] don't consider 'ok' of todo tests in exit code
  • 9ec3a0f [Dev Deps] update eslint, js-yaml
  • 3f337d1 [meta] set save-prefix to ~ (meant for runtime deps)
  • c30e492 [Deps] update glob, resolve
  • 25b4a24 Minor punctuation/highlighting improvement
  • c481dae [Refactor] Removed never-read inErrorState from index.js

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of eslint-plugin-standard is breaking the build 🚨

The devDependency eslint-plugin-standard was updated from 4.0.0 to 4.0.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-standard is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 8 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of fetch-ponyfill is breaking the build 🚨


🚨 Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! 💜 🚚💨 💚

Find out how to migrate to Snyk at greenkeeper.io


The dependency fetch-ponyfill was updated from 6.1.0 to 6.1.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

fetch-ponyfill is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 142 commits.

  • 72913ab 6.1.1
  • 71e65d4 Support webpack with node environments (e.g. electron) (#239)
  • 47aa711 Merge pull request #247 from qubyte/greenkeeper/testem-3.1.0
  • 08f572e chore(package): update lockfile package-lock.json
  • d651c43 chore(package): update testem to version 3.1.0
  • 30364e3 Merge pull request #246 from qubyte/greenkeeper/testem-3.0.4
  • abd7e5f chore(package): update lockfile package-lock.json
  • 1db5ef7 chore(package): update testem to version 3.0.4
  • 678f8fb Merge pull request #244 from qubyte/update-dev-deps
  • 0ab4fdc Update development dependencies.
  • ae2f03a Merge pull request #243 from qubyte/greenkeeper/testem-3.0.3
  • 297b019 chore(package): update lockfile package-lock.json
  • 18e37a0 chore(package): update testem to version 3.0.3
  • 52f8515 Merge pull request #242 from qubyte/greenkeeper/promise-8.1.0
  • de5c3b1 chore(package): update lockfile package-lock.json

There are 142 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of eslint-plugin-promise is breaking the build 🚨

The devDependency eslint-plugin-promise was updated from 4.1.1 to 4.2.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-promise is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 6 commits.

  • 5b935bd 4.2.1
  • 9017a70 4.2.1
  • 254c0fd 4.2.0
  • 3f2c61d Merge pull request #136 from ota-meshi/fix/no-return-wrap
  • 57267ca Add testcase
  • d8b9206 Fixed that no-return-wrap does not work if type is not "ExpressionStatement".

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of eslint-plugin-import is breaking the build 🚨

The devDependency eslint-plugin-import was updated from 2.17.3 to 2.18.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-import is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 26 commits.

  • c924f5d Bump to v2.18.0
  • c8132f2 Merge pull request #1393 from sheepsteak/eslint-6
  • 7e41d29 Make testVersion take a function to delay running require.resolve
  • d7023f6 Remove ESLint 6 from allowed failures in Travis
  • 3bee716 Use eslint@6 instead of [email protected] in Travis
  • d9b7258 Only run tests using typescript-eslint-parser on eslint@<6
  • c2b19d0 Update to @typescript-eslint/parser canary
  • 2f1f4da Allow ESLint@6
  • e6ea127 Use require.resolve when passing parser to RuleTester
  • 1029b4f Add ecmaVersion when required
  • b5ff64e Transform output of FileEnumerator into what rule expects
  • fc65509 Merge pull request #1389 from fooloomanzoo/patch-1
  • 4140870 Update no-named-as-default-member.md
  • 58b41c2 Merge pull request #1383 from golopot/node-12
  • 8974346 [Build] make node 12 pass CI

There are 26 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of lodash.merge is breaking the build 🚨

The dependency lodash.merge was updated from 4.6.1 to 4.6.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

lodash.merge is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.