<commit_before># Exploration of UrtheCast Api

Javascript viewer for recent images (last month) from UrtheCast (https://www.urthecast.com/)

# Techniques used

Leaflet 0.7.7

Contains sample code for:

- Query UrtheCast API 

- UrtheCast API Authentication

- Add Leaflet tilelayers for a UrtheCast maps 

# Installation

git clone https://github.com/bertt/Urthecast.Api.git

cd Urthecast.Api 

copy config-sample.js config.js

// and insert your UrtheCast api key in config.js

// and run on your favorite webserver<commit_msg>edit readme<commit_after># GuardiansX

# Installation

git clone https://github.com/gpi-it/GuardiansX.git

cd GuardiansX

copy app/js/config-sample.js app/js/config.js
// and insert your UrtheCast api keys in config.js

npm install

node server.js

browser: open http://localhost:3000
{'fraction_non_alphanumeric': 0.08374384236453201, 'fraction_numerical': 0.008620689655172414, 'mean_word_length': 3.9877300613496933, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1283939', 'n_tokens_mistral': 277, 'n_tokens_neox': 265, 'n_words': 85}