query some site's rank in Alexa.
-
put this php file to your web server.
-
Create a new Slack Slash Command
Example: Commend: /alexa URL: the php file's url Method: POST
-
Create an incoming webhook. Setup the Channel, Customize Name, Customize Icon, Copy the 'Webhook URL' and Save Settings.
-
Config the PHP file.
$incoming_webhook_url = 'Incoming Webhook URL'; $username = 'Incoming Customize Name'; $icon = 'Incoming Customize Icon';
/alexa site_url
the MIT License.