Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mitica/metno-symbols
met.no weather symbol names
https://github.com/mitica/metno-symbols
metno metno-symbols
Last synced: 4 days ago
JSON representation
met.no weather symbol names
- Host: GitHub
- URL: https://github.com/mitica/metno-symbols
- Owner: mitica
- Created: 2016-03-06T09:11:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-06-17T17:04:24.000Z (5 months ago)
- Last Synced: 2024-10-04T14:47:57.551Z (about 1 month ago)
- Topics: metno, metno-symbols
- Language: JavaScript
- Size: 52.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# metno-symbols
A set of files with met.no weather symbol names.
Supported languages: `['en', 'ro', 'bg', 'ru', 'hu', 'cs', 'it', 'pl', 'sq', 'tr', 'lv', 'vi', 'sr']`
## Files
- **symbols**.json - general symbols
- **en**.json - symbols names for English
- **ro**.json - symbols names for Romanian
- ... **CODE**.json - CODE = language code## Nodejs usage
```
var Symbols = require('metno-symbols');
var englishSymbols = Symbols.symbols('en');
var englishSunName = Symbols.symbolName(1);
// or:
// var englishSunName = Symbols.symbolName('Sun');
var romanianSunName = Symbols.symbolName(1, 'ro');
// or:
// var romanianSunName = Symbols.symbolName('Sun', 'ro');
```