Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ENT8R/blacklistr
A website for visualizing country specific data
https://github.com/ENT8R/blacklistr
blacklist countries country-codes country-data iso3166 maps openstreetmap whitelist
Last synced: 3 months ago
JSON representation
A website for visualizing country specific data
- Host: GitHub
- URL: https://github.com/ENT8R/blacklistr
- Owner: ENT8R
- License: gpl-3.0
- Created: 2018-02-03T18:23:12.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-02-21T09:38:12.000Z (9 months ago)
- Last Synced: 2024-05-18T02:46:00.900Z (6 months ago)
- Topics: blacklist, countries, country-codes, country-data, iso3166, maps, openstreetmap, whitelist
- Language: JavaScript
- Homepage: https://ent8r.github.io/blacklistr/
- Size: 7.6 MB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [blacklistr](https://ent8r.github.io/blacklistr/)
[blacklistr](https://ent8r.github.io/blacklistr/) is a tool for visualizing in which countries a specific feature exists or doesn't exist
### Getting started
To change the state of a country from disabled to enabled (or the other way round), you have two options:
1. click on the country you want to be disabled or enabled and you will see that there will automatically will be a new country code on the right side
2. type in the single country codes in the editor on the right side and the map will update instantlyAll country codes should be a valid [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code or for some countries like the USA, China or India even a [ISO_3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) code
### API
#### Load data from a string
To load the data from a string use the endpoint `/?data={data}`
Example: [`/?data=all except "NL", "DK", "NO", "CZ", "IT"`](https://ent8r.github.io/blacklistr/?data=all%20except%0A%22NL%22,%20%22DK%22,%20%22NO%22,%20%22CZ%22,%20%22IT%22)
#### Load data from a file
To load the data from a file use the endpoint `/?file={file_name}`
Example: [`/?file=https://ent8r.github.io/blacklistr/assets/test.json`](https://ent8r.github.io/blacklistr/?file=https://ent8r.github.io/blacklistr/assets/test.json)
#### Load StreetComplete data
To load the data used by [StreetComplete](https://github.com/streetcomplete/StreetComplete/) use the endpoint `/?streetcomplete={questDirectory/questName}`
Example: [`/?streetcomplete=address/AddHousenumber.kt`](https://ent8r.github.io/blacklistr/?streetcomplete=address/AddHousenumber.kt)
### Found an issue?
- Just report it in the [issue section](https://github.com/ENT8R/blacklistr/issues/) of this repository