This is Bonjourr API system. More information in the source code.
This is a proxy of the unsplash endpoints. Read their documentation to learn more: unsplash.com/documentation. When cloning this API, add your key with "UNSPLASH" as an environnement variable.
GET /unsplash/[unsplash-endpoints]
This is a mostly a proxy of openweathermap that combines their current & forecast endpoints to return data in a One Call format. Use their documentation here: openweathermap.org/one-call-3. You can also specify a city using the 'q=' parameter. Approximate IP location is used when no locations are specified. It also returns the city and country code in this case. When cloning this API, add your key with "WEATHER" as an environnement variable.
GET /weather?[openweathermap-parameters]
GET /weather/current?[openweathermap-parameters]
GET /weather/forecast?[openweathermap-parameters]
Returns the list of available fonts in Fontsource, more info on their docs: fontsource.org/docs/api/fonts. Fonts are sorted by popularity as seen on fonts.google.com and filtered to only allow text fonts, no icons. Also added a more aggressive cache policy than their endpoint.
GET /fonts
Fetches the URL of a website's favicon. Add the URL of the website you want (with the protocol!) to the API path.
Source code: favicon-fetcher
GET /favicon/:your-website
Serves quotes in different languages, but also inspirobot and kaamelott quotes. For classic quotes, if the language
is not available, it defaults to english.
Source code: i18n-quotes
GET /quotes/classic/:lang
GET /quotes/inspirobot
GET /quotes/kaamelott
This is a scraping tool that returns search suggestions from different providers. It uses websockets, so no live
examples.
Source code: search-suggestions
WS /suggestions
GET /suggestions?q=[query]&l=[lang]&with=[provider]
const socket = new WebSocket('wss://api.bonjourr.lol/suggestions')
socket.onmessage = function (event: MessageEvent) {
console.log(JSON.parse(event.data))
}
socket.send(JSON.stringify({ q, with, lang }))