This is a simple and free REST API that replies with an UTF8 encoded JSON Object. This API provides you with a daily updated list of country advisories. These advisories contain a risk value which describes how dangerous a country is from a travellers perspective. This data is available for every country. The number between 0 (zero) and 5 (five) that we show, represent how dangerous a country is. Or better, what level of danger different authorities see for their citizens when travelling a specific country. Often governments publish some sort of advisory for travel destinations for their own citizens. We collect these advisories and try to analyze the risk described. We then give each advisory a risk rating between zero and five. The number shown on travel-advisory.info is the average score that we got over all advisories.
A low-cost paid API option is available if more and more granular data is required. With low pricing for non-commercial hobby and community projects.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.