SendYo (Windows)

AddThis Social Bookmark Button

SendYo is a notification program for Yo.

Yo is a simple application for iOS, Windows Phone and Android that allows you to send a single message, "Yo", to specified users.

Yo has an API designed to allow you to send a notification to users when required.

SendYo is designed to provide a very simple way to use the Yo API to extend notifications for your existing business systems and applications.

Simply enter your API key and SendYo can message all users who have subscribed to your Yo name instantly. You can also send a web link with your Yo to all. If you enter a user id or multiple comma separated user IDs you can choose to send a link or a location. An inbuilt location finder will assist you in retrieving your geocoded location from an address.

SendYo can be run as an interactive application or from the command line and can be used as a notification method for Stalker Monitoring applications or other monitoring systems.

To use SendYo you will need a Yo API key. This key is used to ensure messages are sent from the ID you prefer to your subscribed users.

 

System Requirements

SendYo requires Microsoft .Net 4.0 and has been tested on Windows 7,8, Server 2008 R2, Server 2012.

How it works

How Yo API worksRequest a Yo API Key.

If an API key but no username is specified the application uses the YoAll API to send a notification to all users.
If an API key and a username are specified the application uses the Yo API to send a notification to a single user.
To turn a specified address into a geocode suitable for sending via Yo the application uses the Google Maps API.

Command Line

SendYo.exe /APIKEY@<your API key> /USERS@<user1,user2...> /LINK@<url> /LOC@<lat;long> /LOCADD@<Address>

examples:
SendYo.exe /APIKEY@abcdefghijk /USERS@CHRISTIANDUNN /LOCADD@"100 York St, Sydney NSW 2000, Australia"
SendYo.exe /APIKEY@abcdefghijk /USERS@CHRISTIANDUNN /LINK@"http://myserver.com/yoserver.asp?location={COMPUTER}"

Parameters

When specifying a link two special parameters can be used within the application interface or in the command line and will be replaced by the machine name at runtime.

  • {COMPUTER} - Includes the machine name that SendYo runs on in the url
  • {DATE} - Includes the current date and time in the url

This allows Yo to send the name of the alerting computer in a dynamic link.

The following parameters can be used at the command line to automate SendYo.

  • /APIKEY@{API key} (required) - API KEY from YO WEBSITE
  • /USERS@{user1,user2} (optional) - comma separated string of usernames
  • /LINK@{url} (optional) - webpage url (can include special parameters above)
  • /LOC@{latitude;longitude} (optional - requires /USERS) - latitude and longitude of location
  • /LOCADD@{address} (optional - requires /USERS and will overwrite /LOC) - address of location

Extending the functionality of Yo and SendYo with ASP

Yo allows you to receive notifications back from using a callback function. I have written an ASP page to receive and email Yo callbacks. As you can send a link but no information with Yo I have also developed an asp page designed to display additional information when sending a Yo based on a dynamic link that could include the server name using the computer parameter above.

Find out more about Yo ASP

Version History

v1.0 28/07/14 - Basic YoAll desktop functionality
v1.1 07/01/15 - Improved interface with Yo/Yoall functionality and link/location sending and address to geocode conversion.
v1.2 10/01/15 - Downgraded to .Net 4. Added special parameters. Modified Command Line Parameters.

Attachments:
Download this file (SendYo.exe)SendYo.exe332 kB2015-01-11