Skip to content

A project to help people around the world for quickly seeking help at a crisis

License

Notifications You must be signed in to change notification settings

sandunwira/CrisisHotlines

Repository files navigation

CrisisHotlines

A project to help people around the world for quickly seeking help at a crisis.

Live Demo: https://sandunwira.github.io/CrisisHotlines


API:

The API follows this syntax:

[
  {
    "country": "<country_name>",  // Ex: Sri Lanka
    "alpha-2": "<alpha-2_code>",  // Ex: LK
    "alpha-3": "<alpha-3_code>",  // Ex: LKA
    "hotlines": [
      {
        "name": "<organization_name>",  // Ex: Emergency
        "numbers": [
          "<number_1>",  // Ex: 119
          "<number_2>"
        ]
      }
    ]
  },
  ----------- repeating for every country -----------
]

Included Countries:

Collapse
  • Afghanistan
  • Albania
  • Algeria
  • Andorra
  • Angola
  • Antigua and Barbuda
  • Argentina
  • Armenia
  • Australia
  • Austria
  • Azerbaijan
  • Bahamas
  • Bahrain
  • Bangladesh
  • Barbados
  • Belarus
  • Belgium
  • Belize
  • Benin
  • Bhutan
  • Bolivia
  • Bosnia and Herzegovina
  • Botswana
  • Brazil
  • Brunei
  • Bulgaria
  • Burkina Faso
  • Burundi
  • Cabo Verde (Cape Verde)
  • Cambodia
  • Cameroon
  • Canada
  • Caymon Islands
  • Central African Republic
  • Chad
  • Chile
  • China
  • Colombia
  • Comoros
  • Cook Islands
  • Costa Rica
  • Croatia
  • Cuba
  • Curaçao
  • Cyprus
  • Czech Republic
  • Democratic Republic of the Congo
  • Denmark
  • Djibouti
  • Dominica
  • Dominican Republic
  • East Timor
  • Ecuador
  • Egypt
  • El Salvador
  • Equatorial Guinea
  • Eritrea
  • Estonia
  • Eswatini
  • Ethiopia
  • Federated States of Micronesia
  • Fiji
  • Finland
  • France
  • Gabon
  • Gambia
  • Georgia
  • Germany
  • Ghana
  • Gibraltar
  • Greece
  • Greenland
  • Grenada
  • Guatemala
  • Guinea
  • Guinea-Bissau
  • Guernsey
  • Guyana
  • Haiti
  • Honduras
  • Hong Kong
  • Hungary
  • Iceland
  • India
  • Indonesia
  • Iran
  • Iraq
  • Ireland
  • Israel
  • Italy
  • Ivory Coast
  • Jamaica
  • Japan
  • Jordan
  • Kazakhstan
  • Kenya
  • Kiribati
  • Kosovo
  • Kuwait
  • Kyrgyzstan
  • Laos
  • Latvia
  • Lebanon
  • Lesotho
  • Liberia
  • Libya
  • Liechtenstein
  • Lithuania
  • Luxembourg
  • Madagascar
  • Malawi
  • Malaysia
  • Maldives
  • Mali
  • Malta
  • Marshall Islands
  • Mauritania
  • Mauritius
  • Mexico
  • Moldova
  • Monaco
  • Mongolia
  • Montenegro
  • Morocco
  • Mozambique
  • Myanmar
  • Namibia
  • Nauru
  • Nepal
  • Netherlands
  • New Zealand
  • Nicaragua
  • Niger
  • Nigeria
  • North Korea
  • North Macedonia
  • Norway
  • Oman
  • Pakistan
  • Palau
  • Palestine
  • Panama
  • Papua New Guinea
  • Paraguay
  • Peru
  • Philippines
  • Poland
  • Portugal
  • Qatar
  • Romania
  • Russia
  • Rwanda
  • Saint Kitts and Nevis
  • Saint Lucia
  • Saint Vincent and the Grenadines
  • Samoa
  • San Marino
  • Sao Tome and Principe
  • Saudi Arabia
  • Senegal
  • Serbia
  • Seychelles
  • Sierra Leone
  • Singapore
  • Slovakia
  • Slovenia
  • Solomon Islands
  • Somalia
  • South Africa
  • South Korea
  • South Sudan
  • Spain
  • Sri Lanka
  • Sudan
  • Suriname
  • Sweden
  • Switzerland
  • Syria
  • Taiwan
  • Tajikistan
  • Tanzania
  • Thailand
  • Togo
  • Tonga
  • Trinidad and Tobago
  • Tunisia
  • Turkey
  • Turkmenistan
  • Tuvalu
  • Uganda
  • Ukraine
  • United Arab Emirates
  • United Kingdom
  • United States
  • Uruguay
  • Uzbekistan
  • Vanuatu
  • Venezuela
  • Vietnam
  • Yemen
  • Zambia
  • Zimbabwe

Usage:

There are two versions of the API:


Contribute:

If you wish to contribute to this project, you can either create a new issue or create a fork and contribute

Contribute via issue:

Use this template when creating an issue to have a streamlined review:

What do you want to change or have issues about?:
<summary or description of the issue>

Sources for verification, if you want to add information to the project:
<sources for verifying the information>
Contribute via forks:
  1. Create a fork:
    https://github.com/sandunwira/CrisisHotlines/fork

  2. Clone your forked repository

  3. Make adjustments in information.json file (make sure to sync your fork with the base repository always, to avoid conflicts when merging PRs)

  4. After making adjustments to your fork, commit the changes to your repository

  5. Then create a pull request to the base repository from your repository:
    To avoid false information and to have a streamlined PR review, please make sure to use the following as a template for your pull request when creating:

What did you change?:
<summary or description of what you have changed>

Sources:
<sources for verifying the information>

Sources:


Thank you for your time ❤

About

A project to help people around the world for quickly seeking help at a crisis

Topics

Resources

License

Stars

Watchers

Forks