🎨 Sorts widget API endpoints alphabetically

This commit is contained in:
Alicia Sykes 2021-12-19 15:13:07 +00:00
parent 8686a99be7
commit d855c46ca3
1 changed files with 12 additions and 11 deletions

View File

@ -206,24 +206,25 @@ module.exports = {
}, },
/* API endpoints for widgets that need to fetch external data */ /* API endpoints for widgets that need to fetch external data */
widgetApiEndpoints: { widgetApiEndpoints: {
weather: 'https://api.openweathermap.org/data/2.5/weather', astronomyPictureOfTheDay: 'https://apodapi.herokuapp.com/api',
weatherForecast: 'https://api.openweathermap.org/data/2.5/forecast/daily', codeStats: 'https://codestats.net/',
tflStatus: 'https://api.tfl.gov.uk/line/mode/tube/status',
cryptoPrices: 'https://api.coingecko.com/api/v3/coins/', cryptoPrices: 'https://api.coingecko.com/api/v3/coins/',
cryptoWatchList: 'https://api.coingecko.com/api/v3/coins/markets/', cryptoWatchList: 'https://api.coingecko.com/api/v3/coins/markets/',
xkcdComic: 'https://xkcd.vercel.app/',
exchangeRates: 'https://v6.exchangerate-api.com/v6/', exchangeRates: 'https://v6.exchangerate-api.com/v6/',
stockPriceChart: 'https://www.alphavantage.co/query',
jokes: 'https://v2.jokeapi.dev/joke/',
flights: 'https://aerodatabox.p.rapidapi.com/flights/airports/icao/', flights: 'https://aerodatabox.p.rapidapi.com/flights/airports/icao/',
rssToJson: 'https://api.rss2json.com/v1/api.json', githubTrending: 'https://gh-trending-repos.herokuapp.com/',
codeStats: 'https://codestats.net/', healthChecks: 'https://healthchecks.io/api/v1/',
holidays: 'https://kayaposoft.com/enrico/json/v2.0/?action=getHolidaysForDateRange', holidays: 'https://kayaposoft.com/enrico/json/v2.0/?action=getHolidaysForDateRange',
jokes: 'https://v2.jokeapi.dev/joke/',
news: 'https://api.currentsapi.services/v1/latest-news',
publicIp: 'http://ip-api.com/json', publicIp: 'http://ip-api.com/json',
readMeStats: 'https://github-readme-stats.vercel.app/api', readMeStats: 'https://github-readme-stats.vercel.app/api',
githubTrending: 'https://gh-trending-repos.herokuapp.com/', rssToJson: 'https://api.rss2json.com/v1/api.json',
astronomyPictureOfTheDay: 'https://apodapi.herokuapp.com/api', stockPriceChart: 'https://www.alphavantage.co/query',
news: 'https://api.currentsapi.services/v1/latest-news', tflStatus: 'https://api.tfl.gov.uk/line/mode/tube/status',
weather: 'https://api.openweathermap.org/data/2.5/weather',
weatherForecast: 'https://api.openweathermap.org/data/2.5/forecast/daily',
xkcdComic: 'https://xkcd.vercel.app/',
}, },
/* URLs for web search engines */ /* URLs for web search engines */
searchEngineUrls: { searchEngineUrls: {