Hacker News API examples & templates
Use these vals as a playground to view and fork Hacker News API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
joseforonda
gnews2email
Cron
Google News Digest Monitor any news from your inbox. Fork this val then configure: queries : any number of queries hours : how old do you want your news lang : what language region : what region (Check available languages and regions at google news ) Finally set when do you want your digest delivered in the 🕛 button. (See crongpt to test times in the cron syntax, remember that all times must correspond to UTC and adjust accordingly).
0
gio
theHereTimes
HTTP
* This application creates "The Here Times", a map-based news aggregator.
* It uses the Google Maps JavaScript API for map rendering, Geonames for location data,
* and the NewsAPI for fetching news articles.
* The app displays news for the top 12 most populous cities/neighborhoods in the current map view.
*
* We'll use the following approach:
* 1. Use Google Maps JavaScript API for rendering the map
* 2. Use Geonames API to get top 12 most populous cities within the map bounds
* 3. Fetch news data from NewsAPI based on these locations
* 4. Display news articles in a side drawer, only showing articles that contain the city's name in the title
* 5. Place markers on the map for each location (exactly 12)
* 6. Add a search bar to allow users to search for specific locations
* 7. Recenter the map when a location is clicked or searched
0