-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emoji source host down? #27
Comments
Yeah still broken indeed :( #26 mentioned it too but it has been a few days now already, does not seem to be a short downtime period, maybe they shut it down for good? In that case we might have to search for a new API, e.g. https://emoji-api.com/ or others |
in case somebody wants to fix it for themself:
hope that helps :) |
I've reached out to the company who runs the API (since I maintained the kaomoji version). This is their statement:
|
@Bergrebell thanks for your fix, it works great! But I found that sometimes the 'use strict';
const alfy = require('alfy');
(async () => {
const data = await alfy.fetch(`https://emoji-api.com/emojis?search=${alfy.input}&access_key=YOUR_API_KEY`);
let all = '';
if (data) {
const items = data.map(item => {
const emoji = item.character;
all += emoji;
return {
title: emoji,
arg: emoji,
icon: {
path: ' ' // Hide icon
}
};
});
items.push({
title: all,
arg: all,
icon: {
path: ' '
}
});
alfy.output(items);
}
})(); |
@sindresorhus Could this be updated to support a new Emoji API? |
This project should be changed to depend on https://github.com/sindresorhus/emoj, which does have an alternative emoji source now. |
Hi Sindre,
As of today, I'm receiving a failure when fetching emoji results.. Seems like the host is down.
Emoj 2.0.0
Alfred 4.1.1
darwin x64 19.6.0
The text was updated successfully, but these errors were encountered: