Skip to content

pingmelive/javascript.lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

What is PingMeLive?

This is a library which helps you to get LIVE notifications of actions taking place on your websites and applications. Just Copy past the below codes and get live updates of errors and actions. Make Categories of pings based on projects (etc) and assign it to your team mates. That's what PingMeLive does. Easy right!.

How to use

Register yourself on

https://pingmelive.com and get your API KEY.

Usage

Include pingMeLive Library

Note It doesn't require any jQuery Library, Its Independent and light(<3KB).

<script src="pingmelive.min.js"></script>
<script type = "text/javascript"> 
  var pingmelive = new pingMeLive("apiKey","projectID","errorStatus(true/false)","errorName"); 
</script> 

...and you are done!

Custom Events

You can also use pingMeLive for sending custom events.

1.Simple event

<script>
  //To trigger Simple Event, Just call the below function.
  pingMeLive.simpleEvent("groupTitle","eventMessage");
</script>

If you want to send some detailed long description you can use Detailed event

2.Detailed event

<script>
  //To trigger Simple Event, Just call the below function.
  pingMeLive.detailedEvent("groupTitle","eventMessage","detailDescription");
</script>

Options

  • apiKey : To get an API KEY , register on pingmelive.com. Its free to use.
  • projectID : Once registered, Click on New Project to create.
  • errorStatus : true / false (Boolen Value).
  • errorName : This will be your Group Title/Name where all the error will be pinged.(This works when errorStatus is set as true.
  • groupTitle : This will be your Group Tilte/Name under which , you will get all your pings.
  • eventMessage : The errorMessage is limited to 360 character in length. Any additional characters beyond 360 character will be truncated.
  • detailDescription : The detailDescription is does not have any length limitation. You can also send JSON Formatted String / or simple plain string.

Some usefull information

  • If you only want error pings, Just include the pingMeLive library and and Intialize it.
  • You can smartly use groupTitle for creating uniques group for your pings.